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