aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 66739ff..ecc6501 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -45,7 +45,8 @@ int Engine::init(void)
systems.add<InputSystem>();
systems.add<PlayerSystem>(entities);
systems.add<RenderSystem>();
- systems.add<ScriptSystem>(entities);
+ systems.add<WorldSystem>();
+ systems.add<ScriptSystem>(entities, *(systems.system<WorldSystem>().get()));
systems.add<PhysicsSystem>();
systems.configure();