From 2eb166e28008715f0fc885437a39395ec6848d08 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 17 Sep 2022 20:52:47 +0200 Subject: [PATCH] [MIRROR] Adds weather protection to things inside disposals pipes [MDB IGNORE] (#16243) * Adds weather protection to things inside disposals pipes (#69813) * Adds weather protection to disposals pipes, protecting against ash/void/snow/radiation storms. * Adds weather protection to things inside disposals pipes Co-authored-by: ShizCalev --- code/modules/recycling/disposal/holder.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/recycling/disposal/holder.dm b/code/modules/recycling/disposal/holder.dm index f998544e9c5..2d1ad98d21e 100644 --- a/code/modules/recycling/disposal/holder.dm +++ b/code/modules/recycling/disposal/holder.dm @@ -16,6 +16,10 @@ var/tomail = FALSE // contains wrapped package var/hasmob = FALSE // contains a mob +/obj/structure/disposalholder/Initialize(mapload) + . = ..() + ADD_TRAIT(src, TRAIT_WEATHER_IMMUNE, REF(src)) + /obj/structure/disposalholder/Destroy() active = FALSE last_pipe = null