[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 f92c703bd4.
This commit is contained in:
S34N
2022-05-28 12:22:26 +01:00
committed by GitHub
parent 8b9f7c0bd7
commit 3c7cc050f2
@@ -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