Conversion many Globals to Managed Globals (Part 1) (#17121)

* Conversion of some Globals to Managed Globals

* Fix

* for later

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Selis
2025-04-17 14:16:53 -04:00
committed by GitHub
co-authored by Kashargul
parent 6a47a779d5
commit 21dcf0555b
229 changed files with 1227 additions and 1220 deletions
@@ -31,10 +31,10 @@
to_chat(user, span_danger("\The [src] has ran out of uses, and is now useless to you!"))
return
else
var/area_wanted = tgui_input_list(user, "Area to teleport to", "Teleportation", teleportlocs)
var/area_wanted = tgui_input_list(user, "Area to teleport to", "Teleportation", GLOB.teleportlocs)
if(!area_wanted)
return
var/area/A = teleportlocs[area_wanted]
var/area/A = GLOB.teleportlocs[area_wanted]
if(!A)
return