Skip to content

Commit

Permalink
Fixes ability to build over/under fire doors. (#7128)
Browse files Browse the repository at this point in the history
# About the pull request

You can now build things on tiles that have fire doors again.

# Explain why it's good for the game

Unintentional that you can't rebuild the windows/doors etc. under a fire
door.


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
fix: You can build on tiles with fire doors again.
/:cl:
  • Loading branch information
realforest2001 authored Sep 10, 2024
1 parent c48f024 commit a44e13f
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/airlock))
to_chat(usr, SPAN_WARNING("[object] is blocking you from constructing \the [R.title]!"))
return

Expand Down

0 comments on commit a44e13f

Please sign in to comment.