Timer fix

This commit is contained in:
Joshua Granick
2018-11-05 11:20:15 -08:00
parent df0827f4a6
commit c7b96e0be8

View File

@@ -276,7 +276,8 @@ class Timer {
public static inline function stamp ():Float { public static inline function stamp ():Float {
return System.getTimer () / 1000; var timer = System.getTimer ();
return (timer > 0 ? timer / 1000 : 0);
} }