Let all ferry shuttles ignore docking codes.

Ferry shuttles generally shouldn't have to worry about docking codes.  Thats for exploration or antag shuttles. Therefore let them read the docking codes and dock anyway.
Given we put this on all ferry shuttles, we don't need specific code for it on the supply shuttle anymore.
This commit is contained in:
Leshana
2020-03-23 15:46:30 -04:00
parent f57fd435c7
commit faefb918d6
3 changed files with 7 additions and 7 deletions

View File

@@ -48,3 +48,9 @@
/datum/shuttle/autodock/ferry/process_arrived()
..()
next_location = get_location_waypoint(!location)
// Ferry shuttles should generally always be able to dock. So read the docking codes off of the target.
/datum/shuttle/autodock/ferry/update_docking_target(var/obj/effect/shuttle_landmark/location)
..()
if(active_docking_controller && active_docking_controller.docking_codes)
set_docking_codes(active_docking_controller.docking_codes)

View File

@@ -79,9 +79,3 @@
/datum/shuttle/autodock/ferry/supply/proc/eta_minutes()
var/ticksleft = arrive_time - world.time
return round(ticksleft/600,1)
// Read the docking codes off of the target to make sure we can always dock.
/datum/shuttle/autodock/ferry/supply/update_docking_target(var/obj/effect/shuttle_landmark/location)
..()
if(active_docking_controller && active_docking_controller.docking_codes)
set_docking_codes(active_docking_controller.docking_codes)