From 17371196ee43de2fb0ee6bc08d93c3a8452e9f33 Mon Sep 17 00:00:00 2001 From: Ghommie Date: Thu, 27 Jun 2019 16:51:14 +0200 Subject: [PATCH] Prevents the shuttle from being recalled (even if to no avail). --- modular_citadel/code/controllers/subsystem/shuttle.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modular_citadel/code/controllers/subsystem/shuttle.dm b/modular_citadel/code/controllers/subsystem/shuttle.dm index ba2d54eb13..ad32b3c1d3 100644 --- a/modular_citadel/code/controllers/subsystem/shuttle.dm +++ b/modular_citadel/code/controllers/subsystem/shuttle.dm @@ -1,7 +1,8 @@ -/datum/controller/subsystem/shuttle/proc/autoEnd() //CIT CHANGE - allows shift to end after 3 hours has passed. - if((world.realtime - SSshuttle.realtimeofstart) > auto_call && EMERGENCY_IDLE_OR_RECALLED) //3 hours +/datum/controller/subsystem/shuttle/proc/autoEnd() //CIT CHANGE - allows shift to end after 2 hours have passed. + if((world.realtime - SSshuttle.realtimeofstart) > auto_call && EMERGENCY_IDLE_OR_RECALLED) //2 hours SSshuttle.emergency.request(silent = TRUE) var/redAlert = seclevel2num(get_security_level()) == SEC_LEVEL_RED ? TRUE : FALSE priority_announce("The shift has come to an end and the shuttle called. [redAlert ? "Red Alert state confirmed: Dispatching priority shuttle. " : "" ]It will arrive in [emergency.timeLeft(600)] minutes.", null, 'sound/ai/shuttlecalled.ogg', "Priority") log_game("Round time limit reached. Shuttle has been auto-called.") message_admins("Round time limit reached. Shuttle called.") + emergencyNoRecall = TRUE