Nicolas Cannasse пре 5 година
родитељ
комит
ef18b627e5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      std/haxe/MainLoop.hx

+ 1 - 1
std/haxe/MainLoop.hx

@@ -44,7 +44,7 @@ class MainEvent {
 		if (f == null)
 			return;
 		f = null;
-		nextRun = -1;
+		nextRun = Math.NEGATIVE_INFINITY;
 		if (prev == null)
 			@:privateAccess MainLoop.pending = next;
 		else