aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorAndy Belle-Isle <drumsetmonkey@gmail.com>2019-09-14 03:31:40 -0400
committerAndy Belle-Isle <drumsetmonkey@gmail.com>2019-09-14 03:31:40 -0400
commit534f6f57e930020eb1ad726f4de4e90cf487e584 (patch)
tree0dedd0deaa7556e6f9e8fd316017413f59de7996 /src/engine.cpp
parent4bf539d953871dbddddcc00275ffdcaddece5091 (diff)
World can now draw
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();