From 33b547818a8075b56ce9d13c0a381bd3746297d4 Mon Sep 17 00:00:00 2001 From: Vladisvell Date: Thu, 7 Dec 2023 03:17:39 +0500 Subject: [PATCH 1/2] bugfix: fixed anomalies spawn on wrong spots --- code/__HELPERS/unsorted.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index 5eb1cd82231..3f80aed8e5c 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -640,7 +640,7 @@ Returns 1 if the chain up to the area contains the given typepath var/list/turfs = new/list() for(var/area/N in world) - if(istype(N, areatype)) + if(area.type == areatype) for(var/turf/T in N) turfs += T return turfs From f4b511ef15ef1f6029965c5d832a356d93994ab4 Mon Sep 17 00:00:00 2001 From: Vladisvell Date: Thu, 7 Dec 2023 03:22:30 +0500 Subject: [PATCH 2/2] whoopsie --- code/__HELPERS/unsorted.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index 3f80aed8e5c..5140cc49bad 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -640,7 +640,7 @@ Returns 1 if the chain up to the area contains the given typepath var/list/turfs = new/list() for(var/area/N in world) - if(area.type == areatype) + if(N.type == areatype) for(var/turf/T in N) turfs += T return turfs