From 3c7cc050f2cb01be58a3dc5d571dc0f074336400 Mon Sep 17 00:00:00 2001 From: S34N <12197162+S34NW@users.noreply.github.com> Date: Sat, 28 May 2022 12:22:26 +0100 Subject: [PATCH] [GBP no update] Excludes maint drones from solar flare damage (#17882) * adds exceptions to maint drones to solar flare * applies to all sillycones * Revert "applies to all sillycones" This reverts commit f92c703bd4ff12d3ec29c246a7f41b3980778262. --- code/datums/weather/weather_types/solar_flare.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/datums/weather/weather_types/solar_flare.dm b/code/datums/weather/weather_types/solar_flare.dm index 76941915b94..6f1e5187f8b 100644 --- a/code/datums/weather/weather_types/solar_flare.dm +++ b/code/datums/weather/weather_types/solar_flare.dm @@ -42,6 +42,8 @@ return TRUE if(istype(L, /mob/living/simple_animal)) //while this might break immersion, I don't want to spam the server with calling this on simplemobs return FALSE + if(istype(L, /mob/living/silicon/robot/drone)) //same with poor maint drones who just wanna have fun + return FALSE for(var/turf/T in oview(get_turf(L))) if(isspaceturf(T) || istransparentturf(T)) return TRUE