summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_script.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/mlua_script.h')
-rw-r--r--plugins/MirLua/src/mlua_script.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/MirLua/src/mlua_script.h b/plugins/MirLua/src/mlua_script.h
index c466e16c20..8cf7fc1e29 100644
--- a/plugins/MirLua/src/mlua_script.h
+++ b/plugins/MirLua/src/mlua_script.h
@@ -4,8 +4,6 @@
class CMLuaScript
{
public:
- lua_State *L;
-
enum Status
{
None,
@@ -23,7 +21,7 @@ private:
public:
- CMLuaScript(lua_State *L, const TCHAR *path);
+ CMLuaScript(const TCHAR *path);
~CMLuaScript();
static CMLuaScript* GetScriptFromEnviroment(lua_State *L);
@@ -39,8 +37,8 @@ public:
const Status GetStatus() const;
- bool Load();
- void Unload();
+ bool Load(lua_State *L);
+ void Unload(lua_State *L);
};
#endif //_LUA_SCRIPT_H_