diff options
author | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-11 00:24:40 -0400 |
---|---|---|
committer | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-11 00:24:40 -0400 |
commit | 1d9c67f5719b3c55b1f2f2537e796e2ad95e1ac1 (patch) | |
tree | 98e9656f5855a86ed8247ec3dc13e247d617141c /src/engine.cpp | |
parent | b46aa08e48bdfa9008738ed5d599d6e7d11ede56 (diff) | |
parent | 2b095e30f7786526da9339ccada3aae7f2ab5df4 (diff) |
Merge branch 'master' of github.com:tcsullivan/gamedev2
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 3 |
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(); |