Author Topic: Bug found and fixed in current animate.nut  (Read 341 times)

ArcadeBliss

  • Sr. Member
  • ****
  • Posts: 194
    • View Profile
Bug found and fixed in current animate.nut
« on: July 20, 2016, 11:10:38 PM »
The current animate.nut does stop animations after the configured time has been reached.

to fix this problem, change the current line from:
Code: [Select]
//stop the animation when we reach the end
if ( config.when != When.Always && time >= config.time ) stop();

to:
Code: [Select]
//stop the animation when we reach the end
if ( time >= config.time ) stop();

I also submitted a bug report regarding this.
« Last Edit: July 23, 2016, 11:20:25 AM by ArcadeBliss »