From bb469c41aba98f3bbd21e182e952d80ef7443775 Mon Sep 17 00:00:00 2001 From: Aylong <69762909+AyIong@users.noreply.github.com> Date: Thu, 11 Apr 2024 20:00:05 +0300 Subject: [PATCH] Baseturf helpers fix (#25087) * Baseturf helpers fix * Better way --- code/game/area/areas.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/area/areas.dm b/code/game/area/areas.dm index 12b81b96e95..e0364ea07b4 100644 --- a/code/game/area/areas.dm +++ b/code/game/area/areas.dm @@ -100,13 +100,13 @@ /area/New(loc, ...) if(!there_can_be_many) // Has to be done in New else the maploader will fuck up and find subtypes for the parent GLOB.all_unique_areas[type] = src - ..() + GLOB.all_areas += src + return ..() /area/Initialize(mapload) if(is_station_level(z)) RegisterSignal(SSsecurity_level, COMSIG_SECURITY_LEVEL_CHANGED, PROC_REF(on_security_level_update)) - GLOB.all_areas += src icon_state = "" layer = AREA_LAYER uid = ++global_uid