fix lua event bug

master
Eduardo Bart 13 years ago
parent ce3b02fa09
commit 48c22756f5

@ -77,7 +77,6 @@ private:
template<typename... T>
int LuaObject::callLuaField(const std::string& field, const T&... args) {
if(m_fieldsTableRef != -1) {
// note that the field must be retrieved from this object lua value
// to force using the __index metamethod of it's metatable
// so cannot use LuaObject::getField here
@ -93,7 +92,6 @@ int LuaObject::callLuaField(const std::string& field, const T&... args) {
} else {
g_lua.pop(2);
}
}
return 0;
}

Loading…
Cancel
Save