Improves the display of shuttle ETAs

Conflicts:
	code/controllers/emergency_shuttle_controller.dm
This commit is contained in:
mwerezak
2014-07-13 06:09:33 -04:00
committed by ZomgPonies
parent 8ef1de5f7c
commit 3f7a6286b8
7 changed files with 49 additions and 35 deletions
+3 -4
View File
@@ -222,10 +222,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(ticker.mode:malf_mode_declared)
stat(null, "Time left: [max(ticker.mode:AI_win_timeleft/(ticker.mode:apcs/3), 0)]")
if(emergency_shuttle)
if(emergency_shuttle.has_eta() && !emergency_shuttle.returned())
var/timeleft = emergency_shuttle.estimate_arrival_time()
if (timeleft)
stat(null, "ETA-[(timeleft / 60) % 60]:[add_zero(num2text(timeleft % 60), 2)]")
var/eta_status = emergency_shuttle.get_status_panel_eta()
if(eta_status)
stat(null, eta_status)
/mob/dead/observer/verb/reenter_corpse()
set category = "Ghost"