mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
Support for protocol 963
This commit is contained in:
@@ -692,13 +692,6 @@ void LuaInterface::createLuaState()
|
||||
rawSeti(5);
|
||||
pop(2);
|
||||
|
||||
// replace loadfile
|
||||
getGlobal("package");
|
||||
getField("loaders");
|
||||
pushCFunction(&LuaInterface::luaScriptLoader);
|
||||
rawSeti(5);
|
||||
pop(2);
|
||||
|
||||
// replace dofile
|
||||
pushCFunction(&LuaInterface::lua_dofile);
|
||||
setGlobal("dofile");
|
||||
|
Reference in New Issue
Block a user