Skip to content

Commit

Permalink
Fixes the lockdown button working after dropship being locked by Queen (
Browse files Browse the repository at this point in the history
#6830)

# About the pull request
Fixes the lockdown button working after dropship being locked by Queen

# Explain why it's good for the game
Bug bad

# 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: ihatethisengine2
fix: fixed the lockdown button working after dropship being locked by
Queen
/:cl:
  • Loading branch information
ihatethisengine authored Aug 1, 2024
1 parent 75747fa commit dcae71c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/game/machinery/door_control.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
var/obj/docking_port/mobile/marine_dropship/shuttle = SSshuttle.getShuttle(ship_id)
if (!istype(shuttle))
return
var/obj/structure/machinery/computer/shuttle/dropship/flight/comp = shuttle.getControlConsole()
if(comp?.dropship_control_lost)
return
if(is_mainship_level(z)) // on the almayer
return

Expand Down

0 comments on commit dcae71c

Please sign in to comment.