Timer fix
This commit is contained in:
@@ -702,7 +702,7 @@ class NativeApplication {
|
|||||||
|
|
||||||
if (timer != null) {
|
if (timer != null) {
|
||||||
|
|
||||||
while (currentTime >= timer.mFireAt) {
|
if (timer.mRunning && currentTime >= timer.mFireAt) {
|
||||||
|
|
||||||
timer.mFireAt += timer.mTime;
|
timer.mFireAt += timer.mTime;
|
||||||
timer.run ();
|
timer.run ();
|
||||||
|
|||||||
Reference in New Issue
Block a user