point 1 for crowley ... 20 for newb

This commit is contained in:
gononono64 committed 2025-02-26 01:18:49 -06:00
1 parent b03e83933f
commit 4c86b8074b
1 file changed
+3 -1
+3 -1
View File
@@ -63,7 +63,9 @@ end
Table.FindFirstUnoccupiedSlot = function(tbl) Table.FindFirstUnoccupiedSlot = function(tbl)
local occupiedSlots = {} local occupiedSlots = {}
for _, v in pairs(tbl) do for _, v in pairs(tbl) do
occupiedSlots[v.slot] = true if v.slot then
occupiedSlots[v.slot] = true
end
end end
for i = 1, BridgeServerConfig.MaxInventorySlots do for i = 1, BridgeServerConfig.MaxInventorySlots do
if not occupiedSlots[i] then if not occupiedSlots[i] then