diff --git a/code/controllers/subsystem/shuttles.dm b/code/controllers/subsystem/shuttles.dm index 75a39c7b85..a1db768dda 100644 --- a/code/controllers/subsystem/shuttles.dm +++ b/code/controllers/subsystem/shuttles.dm @@ -47,6 +47,8 @@ var/datum/controller/subsystem/shuttle/SSshuttle var/lockdown = FALSE //disallow transit after nuke goes off + var/GameTime = 72000 //time before in deciseconds in which the shuttle is auto called. Default is 2 hours. + /datum/controller/subsystem/shuttle/New() NEW_SS_GLOBAL(SSshuttle) @@ -352,7 +354,8 @@ var/datum/controller/subsystem/shuttle/SSshuttle transit_requesters += M /datum/controller/subsystem/shuttle/proc/autoEnd() - if(world.time > 72000 && EMERGENCY_IDLE_OR_RECALLED) //3 hours + world << world.time + if(world.time > GameTime && EMERGENCY_IDLE_OR_RECALLED) //3 hours SSshuttle.emergency.request(null, 1.5) priority_announce("The shift has come to an end and the shuttle called.") log_game("Round time limit reached. Shuttle has been auto-called.")