Skip to content

Commit

Permalink
Do not check if there is a door, check if there is a airlock or windo…
Browse files Browse the repository at this point in the history
  • Loading branch information
Miliviu authored Jan 24, 2024
1 parent e6d86c0 commit e608835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/turfs/open/floor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
Ladder.anchored = TRUE
return TRUE
if(RCD_AIRLOCK)
if(locate(/obj/machinery/door) in src)
if(locate(/obj/machinery/door/airlock) in src || locate(/obj/machinery/door/window) in src)
return FALSE
if(ispath(the_rcd.airlock_type, /obj/machinery/door/window))
to_chat(user, "<span class='notice'>You build a windoor.</span>")
Expand Down

0 comments on commit e608835

Please sign in to comment.