aboutsummaryrefslogtreecommitdiff
path: root/lib/systems/physics_world_control.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/systems/physics_world_control.js')
-rw-r--r--lib/systems/physics_world_control.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/systems/physics_world_control.js b/lib/systems/physics_world_control.js
index daa39c1..a658d5c 100644
--- a/lib/systems/physics_world_control.js
+++ b/lib/systems/physics_world_control.js
@@ -91,7 +91,7 @@ export default class PhysicsWorldControlSystem extends System {
*/
update(currentFrameDuration) {
- Engine.run(this.engine);
+ Engine.update(this.engine, currentFrameDuration);
}
};