fix bug
This commit is contained in:
parent
e54097c38d
commit
d71806a941
|
@ -118,7 +118,6 @@ void LuaLoader::Import(const std::string& name, const std::string& field, int ta
|
||||||
|
|
||||||
void LuaLoader::ParseImport() {
|
void LuaLoader::ParseImport() {
|
||||||
if (!lua_istable(L, -1)) {
|
if (!lua_istable(L, -1)) {
|
||||||
lua_pop(L, 1);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue