More optimizations (#18987)

Removed a background set.
Refactored away some world loops.
This commit is contained in:
Fluffy
2024-04-22 11:47:23 +00:00
committed by GitHub
parent 46a2c8fdde
commit 7a28cc1883
5 changed files with 90 additions and 23 deletions
@@ -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