From 142adc38d55cd4691cb9da90e82683b6ec61f6f6 Mon Sep 17 00:00:00 2001 From: Kapu1178 <75460809+Kapu1178@users.noreply.github.com> Date: Tue, 27 Aug 2024 21:54:03 -0400 Subject: [PATCH] bug fix --- code/modules/mob/dead/observer/observer.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index 78335794f5af..ed1844a20c05 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -470,10 +470,10 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp to_chat(usr, span_warning("Not when you're not dead!")) return var/list/filtered = list() - for(var/V in GLOB.sortedAreas) - var/area/A = V + for(var/area/A in get_sorted_areas()) if(!(A.area_flags & HIDDEN_AREA)) filtered += A + var/area/thearea = tgui_input_list(usr, "Area to jump to", "BOOYEA", filtered) if(isnull(thearea))