]> git.r.bdr.sh - rbdr/sumo/blobdiff - lib/systems/physics_world_control.js
Draw the Arena (#7)
[rbdr/sumo] / lib / systems / physics_world_control.js
index daa39c130f07366f118a92eae89770e1de64f3b3..a658d5cc8cca89e013b4347d485f5507e1bb8e40 100644 (file)
@@ -91,7 +91,7 @@ export default class PhysicsWorldControlSystem extends System {
    */
   update(currentFrameDuration) {
 
-    Engine.run(this.engine);
+    Engine.update(this.engine, currentFrameDuration);
   }
 };