From ef18b627e598d8c7411f58c1ca672a5aace13c74 Mon Sep 17 00:00:00 2001 From: Nicolas Cannasse Date: Fri, 25 Oct 2019 23:14:35 +0200 Subject: [PATCH] Bugfix mainloop (#8897) --- std/haxe/MainLoop.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/haxe/MainLoop.hx b/std/haxe/MainLoop.hx index b34642145ed..96a6fa93374 100644 --- a/std/haxe/MainLoop.hx +++ b/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