Browse Source

proper timing for scene

Nicolas Cannasse 11 years ago
parent
commit
c9c04e7647
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hxd/App.hx

+ 2 - 0
hxd/App.hx

@@ -39,6 +39,8 @@ class App {
 		hxd.Timer.update();
 		s2d.checkEvents();
 		update(hxd.Timer.tmod);
+		s2d.setElapsedTime(Timer.tmod/60);
+		s3d.setElapsedTime(Timer.tmod/60);
 		engine.render(s3d);
 	}