ncannasse 7 år sedan
förälder
incheckning
ec9fd0779a
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      hxd/Timer.hx

+ 2 - 2
hxd/Timer.hx

@@ -72,11 +72,11 @@ class Timer {
 	}
 
 	inline static function get_tmod() {
-		return dt / wantedFPS;
+		return dt * wantedFPS;
 	}
 
 	inline static function set_tmod(v:Float) {
-		dt = v * wantedFPS;
+		dt = v / wantedFPS;
 		return v;
 	}