mirror of
https://github.com/edubart/otclient.git
synced 2025-12-19 23:27:11 +01:00
fix bug
This commit is contained in:
@@ -12,8 +12,10 @@ LuaObject::~LuaObject()
|
||||
|
||||
void LuaObject::releaseLuaFieldsTable()
|
||||
{
|
||||
if(m_fieldsTableRef != -1)
|
||||
if(m_fieldsTableRef != -1) {
|
||||
g_lua.unref(m_fieldsTableRef);
|
||||
m_fieldsTableRef = -1;
|
||||
}
|
||||
}
|
||||
|
||||
void LuaObject::luaSetField(const std::string& key)
|
||||
|
||||
Reference in New Issue
Block a user