aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorAndy Belle-Isle <drumsetmonkey@gmail.com>2019-09-11 00:24:40 -0400
committerAndy Belle-Isle <drumsetmonkey@gmail.com>2019-09-11 00:24:40 -0400
commit1d9c67f5719b3c55b1f2f2537e796e2ad95e1ac1 (patch)
tree98e9656f5855a86ed8247ec3dc13e247d617141c /src/engine.cpp
parentb46aa08e48bdfa9008738ed5d599d6e7d11ede56 (diff)
parent2b095e30f7786526da9339ccada3aae7f2ab5df4 (diff)
Merge branch 'master' of github.com:tcsullivan/gamedev2
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();