From 24f8780ad2e97d05c22f3ff08fc846eb099def98 Mon Sep 17 00:00:00 2001 From: Heroman Date: Thu, 11 Jul 2019 16:23:26 +1000 Subject: [PATCH] Makes airtight plastic flaps less of a free pass --- code/game/objects/structures/plasticflaps.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/game/objects/structures/plasticflaps.dm b/code/game/objects/structures/plasticflaps.dm index 8f21f72781..769c04661d 100644 --- a/code/game/objects/structures/plasticflaps.dm +++ b/code/game/objects/structures/plasticflaps.dm @@ -65,3 +65,10 @@ name = "airtight plastic flaps" desc = "Heavy duty, airtight, plastic flaps." can_atmos_pass = ATMOS_PASS_NO + +/obj/structure/plasticflaps/mining/CanPass(atom/A, turf/T) + for(var/mob_type in mobs_can_pass) + if(istype(A, mob_type)) + return ..() + + return 0 \ No newline at end of file