mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
Makes away ships no longer shuttle subtypes (#14224)
This commit is contained in:
@@ -128,7 +128,5 @@ somewhere on that shuttle. Subtypes of these can be then used to perform ship ov
|
||||
. = ..()
|
||||
if(current_map.use_overmap && !linked)
|
||||
var/my_sector = map_sectors["[z]"]
|
||||
if (istype(my_sector, /obj/effect/overmap/visitable))
|
||||
if(istype(my_sector, /obj/effect/overmap/visitable/ship))
|
||||
attempt_hook_up(my_sector)
|
||||
if(istype(linked, /obj/effect/overmap/visitable/ship))
|
||||
connected = linked
|
||||
|
||||
@@ -50,11 +50,10 @@
|
||||
if(href_list["pick"])
|
||||
var/list/possible_d = shuttle.get_possible_destinations()
|
||||
var/D
|
||||
if(possible_d.len)
|
||||
if(length(possible_d))
|
||||
D = input("Choose shuttle destination", "Shuttle Destination") as null|anything in possible_d
|
||||
else
|
||||
to_chat(usr,"<span class='warning'>No valid landing sites in range.</span>")
|
||||
possible_d = shuttle.get_possible_destinations()
|
||||
if(CanInteract(usr, physical_state) && (D in possible_d))
|
||||
shuttle.set_destination(possible_d[D])
|
||||
return TOPIC_REFRESH
|
||||
|
||||
Reference in New Issue
Block a user