Skip to content

Commit

Permalink
can build
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed Sep 7, 2024
1 parent 471e462 commit 68fd71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/stacks/stack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ Also change the icon to reflect the amount of sheets, if possible.*/

if(R.one_per_turf != ONE_TYPE_PER_BORDER) //all barricade-esque structures utilize this define and have their own check for object density. checking twice is unneeded.
for(var/obj/object in usr.loc)
if(object.density || istype(object, /obj/structure/machinery/door))
if(object.density || (istype(object, /obj/structure/machinery/door) && !istype(object, /obj/structure/machinery/door/firedoor)))
to_chat(usr, SPAN_WARNING("[object] is blocking you from constructing \the [R.title]!"))
return

Expand Down

0 comments on commit 68fd71c

Please sign in to comment.