From cbc538f529fe6e19f0197a79a2e188911fd3edae Mon Sep 17 00:00:00 2001 From: cadyn <35672377+cadyn@users.noreply.github.com> Date: Thu, 19 Nov 2020 12:43:22 -0800 Subject: [PATCH] Fix bullshit --- code/modules/events/spider_infestation.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/events/spider_infestation.dm b/code/modules/events/spider_infestation.dm index c799f09b19..b304b71d09 100644 --- a/code/modules/events/spider_infestation.dm +++ b/code/modules/events/spider_infestation.dm @@ -17,7 +17,8 @@ /datum/event/spider_infestation/start() var/list/vents = list() for(var/obj/machinery/atmospherics/unary/vent_pump/temp_vent in machines) - if(istype(get_area(temp_vent), /area/crew_quarters/sleep || /area/hallway/secondary/entry || /area/surface/outpost/main/dorms)) + var/in_area = get_area(temp_vent) + if(istype(in_area, /area/crew_quarters/sleep) || istype(in_area, /area/hallway/secondary/entry) || istype(in_area, /area/surface/outpost/main/dorms)) continue if(!temp_vent.welded && temp_vent.network && temp_vent.loc.z in using_map.station_levels) if(temp_vent.network.normal_members.len > 50)