point 1 for crowley ... 20 for newb
This commit is contained in:
1 parent
b03e83933f
commit
4c86b8074b
1 file changed
+3
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user