Skip to content

Commit

Permalink
Fixes delayed launch launching lifeboat even if locked by queen (#5980)
Browse files Browse the repository at this point in the history
# About the pull request
Queen locking a lifeboat should cancel its launch.

# Explain why it's good for the game
Trust me.
<details>
I did not test it.

</details>


# Changelog
:cl: ihatethisengine
fix: Fixed delayed launch launching lifeboat even if locked by queen
/:cl:
  • Loading branch information
ihatethisengine authored Mar 23, 2024
1 parent ad1a74f commit 761c11d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/shuttle/shuttles/crashable/lifeboats.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
port_direction = EAST

/obj/docking_port/mobile/crashable/lifeboat/evac_launch()
if (status == LIFEBOAT_LOCKED)
return

. = ..()

available = FALSE
Expand Down

0 comments on commit 761c11d

Please sign in to comment.