Fix bag slot missing
This commit is contained in:
@@ -71,7 +71,7 @@ local function tryStackFabricator(character)
|
||||
return
|
||||
end
|
||||
---@type Barotrauma.ItemInventory.Slot
|
||||
local bagSlot = inventory.slots[BAG_SLOT]
|
||||
local bagSlot = inventory.slots[MyModGlobal.BAG_SLOT]
|
||||
if not bagSlot then
|
||||
MyModGlobal.debugPrint("Bag slot not found.")
|
||||
return
|
||||
|
Reference in New Issue
Block a user