Should fix the shuttle taking an hour to arrive at midnight

This commit is contained in:
madmanmartian
2019-09-30 01:56:04 +01:00
parent 231baf3b38
commit 4fee112f32

View File

@@ -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