2
0
ncannasse 8 жил өмнө
parent
commit
16035167b7
1 өөрчлөгдсөн 4 нэмэгдсэн , 4 устгасан
  1. 4 4
      hxd/System.hl.hx

+ 4 - 4
hxd/System.hl.hx

@@ -213,9 +213,9 @@ class System {
 
 	static function get_allowTimeout() @:privateAccess {
 		#if hldx
-		return dx.Loop.sentinel.pause;
+		return !dx.Loop.sentinel.pause;
 		#elseif hlsdl
-		return sdl.Sdl.sentinel.pause;
+		return !sdl.Sdl.sentinel.pause;
 		#else
 		return false;
 		#end
@@ -223,9 +223,9 @@ class System {
 
 	static function set_allowTimeout(b) @:privateAccess {
 		#if hldx
-		return dx.Loop.sentinel.pause = b;
+		return dx.Loop.sentinel.pause = !b;
 		#elseif hlsdl
-		return sdl.Sdl.sentinel.pause = b;
+		return sdl.Sdl.sentinel.pause = !b;
 		#else
 		return false;
 		#end