Browse Source

[java/cs] Fix for Timer.stamp() on sys platforms

Caue Waneck 13 năm trước cách đây
mục cha
commit
7e87a96b67
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/haxe/Timer.hx

+ 1 - 1
std/haxe/Timer.hx

@@ -108,7 +108,7 @@ class Timer {
 		#elseif cpp
 			return untyped __global__.__time_stamp();
 		#elseif sys
-			return Sys.cpuTime();
+			return Sys.time();
 		#else
 			return 0;
 		#end