Misc shuttle fixes (#8640)

This commit is contained in:
fernerr
2020-04-11 05:59:56 +02:00
committed by GitHub
parent 2d66d5727e
commit 3bb076f38b
5 changed files with 15 additions and 8 deletions
+3 -3
View File
@@ -140,12 +140,12 @@
SSresponseteam.trigger_armed_response_team(choice)
/hook/shuttle_moved/proc/close_response_blastdoors(var/area/departing, var/area/destination)
/hook/shuttle_moved/proc/close_response_blastdoors(var/obj/effect/shuttle_landmark/start_location, var/obj/effect/shuttle_landmark/destination)
//Check if we are departing from the Odin
if(istype(departing,/area/shuttle/specops/centcom))
if(start_location.landmark_tag == "nav_ert_start")
SSresponseteam.close_ert_blastdoors()
//Check if we are departing from the TCFL base
else if(istype(departing,/area/shuttle/legion/centcom))
else if(start_location.landmark_tag == "nav_legion_start")
SSresponseteam.close_tcfl_blastdoors()
return TRUE