Merge pull request #14349 from AnturK/awayareas

Adds away areas to ghost teleport/ admin jump list
This commit is contained in:
Aranclanos
2016-01-05 04:54:39 -03:00
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -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)
+1
View File
@@ -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