Skip to content

Commit

Permalink
Close-Doors-When-Lockdown-Dropship
Browse files Browse the repository at this point in the history
Closes Doors when you click "lockdown" on dropships before it locks the doors.
  • Loading branch information
hislittlecuzingames committed Nov 9, 2023
1 parent 1cee6df commit a418631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/doors/airlock.dm
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ GLOBAL_LIST_INIT(airlock_wire_descriptions, list(
/obj/structure/machinery/door/airlock/proc/lock(forced = FALSE)
if((operating && !forced) || locked)
return

close()
playsound(loc, 'sound/machines/hydraulics_1.ogg', 25)
locked = TRUE
visible_message(SPAN_NOTICE("\The [src] airlock emits a loud thunk, then a click."))
Expand Down

0 comments on commit a418631

Please sign in to comment.