summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/environment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/environment.cpp')
-rw-r--r--plugins/MirLua/src/environment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/environment.cpp b/plugins/MirLua/src/environment.cpp
index 3127edee82..321eace843 100644
--- a/plugins/MirLua/src/environment.cpp
+++ b/plugins/MirLua/src/environment.cpp
@@ -138,7 +138,7 @@ void CMLuaEnvironment::CreateEnvironmentTable()
lua_setmetatable(L, -2);
}
-bool CMLuaEnvironment::Load()
+int CMLuaEnvironment::Load()
{
luaL_checktype(L, -1, LUA_TFUNCTION);