Explorar el Código

sentinel should tick a soon as we kick the main loop

ncannasse hace 7 años
padre
commit
9f201f4104
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      hxd/System.hl.hx

+ 1 - 0
hxd/System.hl.hx

@@ -301,6 +301,7 @@ class System {
 		#if !usesys
 		hl.Api.setErrorHandler(function(e) reportError(e)); // initialization error
 		sentinel = new hl.UI.Sentinel(30, function() throw "Program timeout (infinite loop?)");
+		haxe.MainLoop.add(timeoutTick);
 		#end
 	}