From 44715ab70ff1f8da6f8161702c9de914b7a18a08 Mon Sep 17 00:00:00 2001 From: LetterJay Date: Wed, 29 Mar 2017 20:23:24 -0500 Subject: [PATCH] listed autoEnd as a var known as GameTimer --- code/controllers/subsystem/shuttles.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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.")