The time left on a shuttle call/recall modifies with security level. (#21906)

* The time left on a shuttle call/recall will now correctly modify with changes in the alert status.

As added functionality Code Green shuttle calls no longer need a reason (though you can still give one) and take 20 minutes to arrive.

* Takes out the fun part (for now)
This commit is contained in:
Incoming5643
2016-12-04 12:47:17 -05:00
committed by AnturK
parent ca74062f8f
commit 2c82b2d65e
3 changed files with 47 additions and 11 deletions
+8
View File
@@ -602,6 +602,14 @@
timer = world.time + wait
last_timer_length = wait
/obj/docking_port/mobile/proc/modTimer(multiple)
var/time_remaining = timer - world.time
if(time_remaining < 0 || !last_timer_length)
return
time_remaining *= multiple
last_timer_length *= multiple
setTimer(time_remaining)
/obj/docking_port/mobile/proc/invertTimer()
if(!last_timer_length)
return