If a function is called twice in the exact same time (by two Timers for instance), it is executed only once. The second trigger is ignored.
Expected behaviour would be to queue it somehow and execute function twice since it can behave differently based on parameters etc.
NOTE: Timers are queued if they trigger at the same time, therefore I assume that not queuing functions is not intended behaviour but a bug.
Attach a Capx
https://drive.google.com/file/d/0BwT_0l ... sp=sharing
Description of Capx
On start of layout it creates two instances of "Sprite" object which has a Timer behaviour.
Starts Timer for each sprite (both exactly on 2 seconds, once).
On Timer: triggeres a function.
Function simply changes the frame of the sprite.
Steps to Reproduce Bug
- Just run the project and wait 2 seconds.
Only one sprite instance has frame changed.
Both instances should have frame changed.
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Windows 10 Pro x64
Construct 2 Version ID