summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lua-interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua-interface.cpp b/src/lua-interface.cpp
index 1cf320d..5bb1615 100644
--- a/src/lua-interface.cpp
+++ b/src/lua-interface.cpp
@@ -980,7 +980,7 @@ virtual int startup() throw (GeneralException) {
try {
L->load(&built);
L->push("lua_interface_light_main");
- L->gettable("LUA_GLOBALSINDEX");
+ L->gettable(LUA_GLOBALSINDEX);
L->call(0, 1);
interactive = L->toboolean();
L->pop();