shuttle catastrophe now cant trigger if it already happened (#55114)

Shuttle catastrophe now cant trigger if it already happened
This commit is contained in:
Fikou
2020-11-23 14:08:39 -08:00
committed by GitHub
parent ca66ac7ffc
commit c48c3d9716
@@ -5,6 +5,8 @@
max_occurrences = 1
/datum/round_event_control/shuttle_catastrophe/canSpawnEvent(players, gamemode)
if(SSshuttle.shuttle_purchased == SHUTTLEPURCHASE_FORCED)
return FALSE //don't do it if its already been done
if(istype(SSshuttle.emergency, /obj/docking_port/mobile/emergency/shuttle_build))
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)