Skip to content

Commit 842e82e

Browse files
committed
pedestal.lua clear .in_building flag on unassign
1 parent 2131f55 commit 842e82e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/caravan/pedestal.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,7 @@ local function unassign_item(bld, item)
602602
local idx, _ = utils.linear_index(bld.displayed_items, item.id)
603603
if idx then
604604
bld.displayed_items:erase(idx)
605+
item.flags.in_building = false
605606
end
606607
end
607608

0 commit comments

Comments
 (0)