diff options
Diffstat (limited to 'plugins/MirLua/src/script_loader.h')
-rw-r--r-- | plugins/MirLua/src/script_loader.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/MirLua/src/script_loader.h b/plugins/MirLua/src/script_loader.h index 1b7b87eab5..d57bf83fd7 100644 --- a/plugins/MirLua/src/script_loader.h +++ b/plugins/MirLua/src/script_loader.h @@ -5,7 +5,9 @@ class CMLuaScriptLoader private: lua_State *L; - CMLuaScriptLoader(lua_State *L); + OBJLIST<CMLuaScript> &m_scripts; + + CMLuaScriptLoader(lua_State *L, OBJLIST<CMLuaScript> &scripts); void SetPaths(); @@ -13,5 +15,5 @@ private: void LoadScripts(); public: - static void Load(lua_State *L); + static void Load(lua_State *L, OBJLIST<CMLuaScript> &scripts); }; |