mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
Merge pull request #14349 from AnturK/awayareas
Adds away areas to ghost teleport/ admin jump list
This commit is contained in:
@@ -674,9 +674,10 @@ Turf and target are seperate in case you want to teleport some distance from a t
|
||||
if(A.vars.Find(lowertext(varname))) return 1
|
||||
else return 0
|
||||
|
||||
//Returns sortedAreas list if populated
|
||||
//else populates the list first before returning it
|
||||
//Repopulates sortedAreas list
|
||||
/proc/SortAreas()
|
||||
sortedAreas = list()
|
||||
|
||||
for(var/area/A in world)
|
||||
sortedAreas.Add(A)
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ var/global/list/potentialSpaceRuins = generateMapList(filename = "config/spaceRu
|
||||
|
||||
world << "<span class='boldannounce'>Away mission loaded.</span>"
|
||||
|
||||
SortAreas() //To add recently loaded areas
|
||||
else
|
||||
world << "<span class='boldannounce'>No away missions found.</span>"
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user