aboutsummaryrefslogtreecommitdiffstats
path: root/src/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script.cpp')
-rw-r--r--src/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.cpp b/src/script.cpp
index a886ca3..fa485bc 100644
--- a/src/script.cpp
+++ b/src/script.cpp
@@ -42,7 +42,7 @@ void ScriptSystem::update([[maybe_unused]] entityx::EntityManager& entities,
[[maybe_unused]] entityx::TimeDelta dt)
{
entities.each<Scripted>([](entityx::Entity, Scripted &s){
- s.update();
+ s.updatePhysics();
});
}