inventory convert fix (items count)

This commit is contained in:
MihailRis
2024-05-05 17:49:17 +03:00
parent bad871b0a2
commit 2a77c24414
5 changed files with 16 additions and 4 deletions
+2 -1
View File
@@ -91,7 +91,8 @@ static int l_reconfig_packs(lua_State* L) {
}
auto controller = scripting::engine->getController();
controller->reconfigPacks(scripting::controller, addPacks, remPacks);
return 0;
lua_pushboolean(L, scripting::controller != nullptr);
return 1;
}
static int l_get_bindings(lua_State* L) {