From a8e49a29e74652ddb6f13e02ed01af8bfa27f7e8 Mon Sep 17 00:00:00 2001 From: Razgriz Date: Tue, 17 Nov 2020 05:10:52 -0700 Subject: [PATCH] Prevent spiders in docks and dorms --- code/modules/events/spider_infestation.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/events/spider_infestation.dm b/code/modules/events/spider_infestation.dm index 6d0be161c5..c799f09b19 100644 --- a/code/modules/events/spider_infestation.dm +++ b/code/modules/events/spider_infestation.dm @@ -17,6 +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)) + 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) vents += temp_vent