Added Bag content saving between game starts

This commit is contained in:
Wofsauge committed 2021-05-30 19:58:25 +02:00
1 parent 0bcb17c54b
commit 1bd04bc72f
3 files changed
+13 -4

No files matched your search

+1 -1
View File
@@ -739,7 +739,7 @@ end
-- Result: "3{{Crafting3}}2{{Crafting2}}3{{Crafting1}}"
function EID:tableToCraftingIconsMerged(craftTable)
table.sort(craftTable, function(a, b) return a > b end)
filteredList = {}
local filteredList = {}
for _,nr in ipairs(craftTable) do
if filteredList[nr] == nil then
filteredList[nr] = 1