diff --git a/code/modules/events/radiation_leak.dm b/code/modules/events/radiation_leak.dm index cfedf82d4ec..0fbe2992766 100644 --- a/code/modules/events/radiation_leak.dm +++ b/code/modules/events/radiation_leak.dm @@ -26,6 +26,9 @@ while(length(possible_locs)) var/turf/chosen_loc = get_turf(pick_n_take(possible_locs)) for(var/obj/machinery/sick_device in range(3, chosen_loc)) + // Excludes machines that don't use power, as these are usually non-machine machinery + if(sick_device.use_power == NO_POWER_USE) + continue // Look for dense machinery. Basically stops stuff like wall mounts and pipes, silly ones. // But keep in vents and scrubbers. I think it's funny if they start spitting out radiation if(!sick_device.density && !istype(sick_device, /obj/machinery/atmospherics/components/unary))