Fixes escape pods not getting to their default destination
This commit is contained in:
committed by
CitadelStationBot
parent
120457d8fd
commit
fd8a80d6cb
@@ -426,8 +426,28 @@
|
||||
|
||||
/obj/docking_port/mobile/pod/Initialize()
|
||||
. = ..()
|
||||
<<<<<<< HEAD
|
||||
if(id == "pod")
|
||||
WARNING("[type] id has not been changed from the default. Use the id convention \"pod1\" \"pod2\" etc.")
|
||||
=======
|
||||
var/static/i = 1
|
||||
if(id == initial(id))
|
||||
id = "[initial(id)][i]"
|
||||
if(name == initial(name))
|
||||
name = "[initial(name)] [i]"
|
||||
|
||||
for(var/k in shuttle_areas)
|
||||
var/area/place = k
|
||||
for(var/obj/machinery/computer/shuttle/pod/pod_comp in place)
|
||||
if(pod_comp.shuttleId == initial(pod_comp.shuttleId))
|
||||
pod_comp.shuttleId = id
|
||||
if(pod_comp.possible_destinations == initial(pod_comp.possible_destinations))
|
||||
pod_comp.possible_destinations = "pod_lavaland[i]"
|
||||
|
||||
i++
|
||||
|
||||
|
||||
>>>>>>> c85c195... Fixes escape pods not getting to their default destination (#37065)
|
||||
|
||||
/obj/docking_port/mobile/pod/cancel()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user