From d71806a9411c1e9dffc06e376819292167fc4711 Mon Sep 17 00:00:00 2001 From: Timofey Khoruzhii Date: Fri, 12 May 2023 19:33:40 +0300 Subject: [PATCH] fix bug --- src/lua/loader.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lua/loader.cpp b/src/lua/loader.cpp index 45089e2..9a688b1 100644 --- a/src/lua/loader.cpp +++ b/src/lua/loader.cpp @@ -118,7 +118,6 @@ void LuaLoader::Import(const std::string& name, const std::string& field, int ta void LuaLoader::ParseImport() { if (!lua_istable(L, -1)) { - lua_pop(L, 1); return; }