diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index c116542332c..e353d2d4568 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(N.type == areatype) for(var/turf/T in N) turfs += T return turfs