From 4fee112f32cbb45d42eaeee56e35754b4cd18105 Mon Sep 17 00:00:00 2001 From: madmanmartian Date: Mon, 30 Sep 2019 01:56:04 +0100 Subject: [PATCH] Should fix the shuttle taking an hour to arrive at midnight --- code/controllers/shuttle_controller.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/shuttle_controller.dm b/code/controllers/shuttle_controller.dm index f6a0a966b2d..49b5dcf8d54 100644 --- a/code/controllers/shuttle_controller.dm +++ b/code/controllers/shuttle_controller.dm @@ -97,7 +97,7 @@ datum/emergency_shuttle/proc/recall() // note if direction = -1, gives a count-up to SHUTTLEARRIVETIME datum/emergency_shuttle/proc/timeleft() if(online) - var/timeleft = round((endtime - world.timeofday)/10 ,1) + var/timeleft = round((endtime - world.time)/10 ,1) if(direction >= 0) return timeleft else