From 17072eb809015825f99d987a51f8ae01f5722f12 Mon Sep 17 00:00:00 2001 From: Ghommie Date: Thu, 27 Jun 2019 04:29:27 +0200 Subject: [PATCH] . --- modular_citadel/code/controllers/subsystem/shuttle.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/modular_citadel/code/controllers/subsystem/shuttle.dm b/modular_citadel/code/controllers/subsystem/shuttle.dm index ad33b6283f..3a46177bfc 100644 --- a/modular_citadel/code/controllers/subsystem/shuttle.dm +++ b/modular_citadel/code/controllers/subsystem/shuttle.dm @@ -1,6 +1,7 @@ /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 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.")