[MIRROR] fixes shuttle catastrophe working when shuttle docked or is flying to centcom (#486)

* fixes shuttle catastrophe working when shuttle docked or is flying to centcom (#53139)

* fixes shuttle catastrophe working when shuttle docked or is flying to centcom

Co-authored-by: Fikou <piotrbryla@onet.pl>
This commit is contained in:
SkyratBot
2020-08-24 00:52:05 +02:00
committed by GitHub
parent 3d9fc6f4e4
commit 2fc0544e35
@@ -7,6 +7,8 @@
/datum/round_event_control/shuttle_catastrophe/canSpawnEvent(players, gamemode)
if(SSshuttle.emergency.name == "Build your own shuttle kit")
return FALSE //don't undo manual player engineering, it also would unload people and ghost them, there's just a lot of problems
if(EMERGENCY_AT_LEAST_DOCKED)
return FALSE //don't remove all players when its already on station or going to centcom
return ..()