Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Delay in calling your methods  (Read 4828 times)

0 Members and 1 Guest are viewing this topic.

Lazov

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
    • View Profile
Delay in calling your methods
« on: December 29, 2018, 09:42:36 PM »

Hi guys!

I noticed that the methods I created (or overridden) delay the execution of the script when I call them. What is the reason?
This is noticeable on weak smartphones.

Example:
Code: [Select]
method StartMusic(Filename, Looping, LoopStart) {
  if (this.GetMusic() != Filename) this.PlayMusic(Filename, Looping, LoopStart);
}
Logged
 

Page created in 0.02 seconds with 23 queries.