Finishes fixing #10896

This commit is contained in:
Aronai Sieyes
2021-07-05 11:12:10 -04:00
parent dcd9081775
commit ddfd341cd2
4 changed files with 15 additions and 15 deletions
+5 -6
View File
@@ -334,16 +334,15 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
to_chat(src, "<font color='blue'><B>AntagHUD [antagHUD ? "Enabled" : "Disabled"]</B></font>")
/mob/observer/dead/proc/jumpable_areas()
var/list/areas = sortAtom(return_areas())
var/list/areas = return_sorted_areas()
if(client?.holder)
return areas
var/list/area_map = list()
for(var/area/A as anything in areas)
for(var/key in areas)
var/area/A = areas[key]
if(A.z in using_map?.secret_levels)
continue
area_map[A.name] = A
return area_map
areas -= key
return areas
/mob/observer/dead/proc/jumpable_mobs()
var/list/mobs = getmobs()