mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-06 15:32:52 +00:00
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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user