mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
[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:
@@ -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 ..()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user