Fixes heads not being able to call the shuttle

Also fixes the inaccurate messages when attempting to call a shuttle too
early.
This commit is contained in:
Krausus
2015-08-18 03:33:29 -04:00
parent 2090a66023
commit 7f75fe794e
@@ -171,7 +171,7 @@ var/shuttle_call/shuttle_calls[0]
if("callshuttle")
var/input = stripped_input(usr, "Please enter the reason for calling the shuttle.", "Shuttle Call Reason.","") as text|null
if(!input || ..() || !(is_authenticated(usr) == 2))
if(!input || ..() || !is_authenticated(usr))
nanomanager.update_uis(src)
return
@@ -426,7 +426,7 @@ var/shuttle_call/shuttle_calls[0]
return
if(world.time < 6000) // Ten minute grace period to let the game get going without lolmetagaming. -- TLE
user << "<span class='warning'>The emergency shuttle is refueling. Please wait another [round((6000-world.time)/60)] minutes before trying again.</span>"
user << "<span class='warning'>The emergency shuttle is refueling. Please wait another [round((6000-world.time)/600)] minutes before trying again.</span>"
return
if(emergency_shuttle.going_to_centcom())
@@ -470,7 +470,7 @@ var/shuttle_call/shuttle_calls[0]
return
if(world.time < 54000) // 30 minute grace period to let the game get going
user << "The shuttle is refueling. Please wait another [round((54000-world.time)/60)] minutes before trying again."
user << "The shuttle is refueling. Please wait another [round((54000-world.time)/600)] minutes before trying again."
return
if(ticker.mode.name == "epidemic")