Nicolas Cannasse il y a 4 ans
Parent
commit
aae6eaa287
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      hxd/System.hl.hx

+ 1 - 1
hxd/System.hl.hx

@@ -426,7 +426,7 @@ class System {
 	}
 	
 	#if (hlsdl || hldx)
-	static var _ = {
+	@:keep static var _ = {
 		haxe.MainLoop.add(timeoutTick, -1) #if (haxe_ver >= 4) .isBlocking = false #end;
 		haxe.MainLoop.add(updateCursor, -1) #if (haxe_ver >= 4) .isBlocking = false #end;
 	}