Adds two shuttle states more functionality (#43005)

* Adds two shuttle states more functionality

* typo

* changes as requested to the pirate shuttle
This commit is contained in:
spookydonut
2019-03-08 23:56:16 +08:00
committed by Emmett Gaines
parent 400eb46d3e
commit eb8f7a0494
4 changed files with 26 additions and 25 deletions
+3
View File
@@ -51,6 +51,9 @@
to_chat(usr, "<span class='warning'>You've already escaped. Never going back to that place again!</span>")
return
if(no_destination_swap)
if(M.mode == SHUTTLE_RECHARGING)
to_chat(usr, "<span class='warning'>Shuttle engines are not ready for use.</span>")
return
if(M.mode != SHUTTLE_IDLE)
to_chat(usr, "<span class='warning'>Shuttle already in transit.</span>")
return