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