mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 23:49:21 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user