diff options
author | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-07 01:24:15 -0400 |
---|---|---|
committer | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-07 01:24:15 -0400 |
commit | 2417abe35038e903bf63d996ae6252173aa878a2 (patch) | |
tree | 38722a150bf08803d87157df37605127332d1b79 /src/engine.cpp | |
parent | c9f8936fcb1afb07ead095f5c560473dc97eb3f6 (diff) |
Removed EntityX pointers from script system and replaced with references
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index d8e8bab..66739ff 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -45,7 +45,7 @@ int Engine::init(void) systems.add<InputSystem>(); systems.add<PlayerSystem>(entities); systems.add<RenderSystem>(); - systems.add<ScriptSystem>(); + systems.add<ScriptSystem>(entities); systems.add<PhysicsSystem>(); systems.configure(); |