aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorAndy Belle-Isle <drumsetmonkey@gmail.com>2019-09-07 01:24:15 -0400
committerAndy Belle-Isle <drumsetmonkey@gmail.com>2019-09-07 01:24:15 -0400
commit2417abe35038e903bf63d996ae6252173aa878a2 (patch)
tree38722a150bf08803d87157df37605127332d1b79 /src/engine.cpp
parentc9f8936fcb1afb07ead095f5c560473dc97eb3f6 (diff)
Removed EntityX pointers from script system and replaced with references
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 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();