mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
More optimizations (#18987)
Removed a background set. Refactored away some world loops.
This commit is contained in:
@@ -21,8 +21,10 @@
|
||||
var/datum/shuttle/S = SSshuttle.shuttles[shuttle_tag]
|
||||
|
||||
var/list/destinations = list()
|
||||
for(var/obj/effect/shuttle_landmark/WP in world)
|
||||
destinations += WP
|
||||
for(var/k in SSshuttle.registered_shuttle_landmarks)
|
||||
var/obj/effect/shuttle_landmark/WP = SSshuttle.registered_shuttle_landmarks[k]
|
||||
if(istype(WP))
|
||||
destinations += WP
|
||||
|
||||
var/obj/effect/shuttle_landmark/destination = input(user, "Select the destination.") as null|anything in destinations
|
||||
if(!destination) return
|
||||
|
||||
Reference in New Issue
Block a user