Skip to content

Commit

Permalink
Lockdown actually closes doors on DS (#5015)
Browse files Browse the repository at this point in the history
# About the pull request

Lockdown actually closes doors on DS.

# Explain why it's good for the game

It used to be the case before the gui rework. I think. Anyway DP should
be able to control doors, hunting for the moment when all doors are
closed to lock them is extremely not fun.


# Testing Photographs and Procedure
<details>
:)</details>


# Changelog
:cl: ihatethisengine
add: Locking down dropship's doors closes them before locking.
/:cl:
  • Loading branch information
ihatethisengine authored Nov 24, 2023
1 parent 5bf4033 commit e5e18a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/game/machinery/door_control.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
if(is_mainship_level(z)) // on the almayer
return

shuttle.control_doors("lock", "all", force=FALSE)
shuttle.control_doors("force-lock", "all", force=FALSE)

/obj/structure/machinery/door_control/proc/handle_door()
for(var/obj/structure/machinery/door/airlock/D in range(range))
Expand Down
4 changes: 2 additions & 2 deletions tgui/packages/tgui/interfaces/DropshipFlightControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const DropshipDoorControl = (_, context) => {
disabled={disable_door_controls}
onClick={() =>
act('door-control', {
interaction: 'lock',
interaction: 'force-lock',
location: 'all',
})
}
Expand Down Expand Up @@ -81,7 +81,7 @@ const DropshipDoorControl = (_, context) => {
<Button
onClick={() =>
act('door-control', {
interaction: 'lock',
interaction: 'force-lock',
location: x.id,
})
}
Expand Down

0 comments on commit e5e18a5

Please sign in to comment.