aboutsummaryrefslogtreecommitdiffstats
path: root/src/script.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script.hpp')
-rw-r--r--src/script.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script.hpp b/src/script.hpp
index 84c698c..d4e2234 100644
--- a/src/script.hpp
+++ b/src/script.hpp
@@ -46,11 +46,11 @@ private:
*/
sol::state lua;
- entityx::EventManager* events;
- entityx::EntityManager* manager;
+ entityx::EntityManager& manager;
public:
- ScriptSystem(void) {}
+ ScriptSystem(entityx::EntityManager& _manager):
+ manager(_manager) {}
~ScriptSystem(void) {}