summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat/LuaScriptInterface.cpp')
-rw-r--r--src/cat/LuaScriptInterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp
index 54e2292..18a9886 100644
--- a/src/cat/LuaScriptInterface.cpp
+++ b/src/cat/LuaScriptInterface.cpp
@@ -37,10 +37,10 @@
#endif
#include <time.h>
-LuaScriptInterface::LuaScriptInterface(GameModel * m):
- CommandInterface(m),
+LuaScriptInterface::LuaScriptInterface(GameController * c, GameModel * m):
+ CommandInterface(c, m),
currentCommand(false),
- legacy(new TPTScriptInterface(m))
+ legacy(new TPTScriptInterface(c, m))
{
luacon_model = m;
luacon_sim = m->GetSimulation();