Przeglądaj źródła

fix wait() on non system targets

ncannasse 1 dzień temu
rodzic
commit
94e94ada85
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      std/haxe/EventLoop.hx

+ 1 - 1
std/haxe/EventLoop.hx

@@ -99,7 +99,7 @@ class EventLoop {
 	inline function wait( time : Float ) {
 		#if target.threaded
 		lockTime.wait(time);
-		#else
+		#elseif sys
 		Sys.sleep(time);
 		#end
 	}