From 5413955ce24e95952a2c5955dea7f482aa4a6cfb Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Thu, 19 Jan 2023 16:34:06 -0600 Subject: [PATCH] fixes a folded mask runtime (#20246) * fixes a folded mask runtime * snake case --- code/modules/clothing/masks/gasmask.dm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/code/modules/clothing/masks/gasmask.dm b/code/modules/clothing/masks/gasmask.dm index 9e4720b5ffe..bfa495b7a84 100644 --- a/code/modules/clothing/masks/gasmask.dm +++ b/code/modules/clothing/masks/gasmask.dm @@ -72,7 +72,18 @@ /obj/item/clothing/mask/gas/explorer/folded/Initialize() . = ..() - adjustmask() + force_adjust_mask() + +/obj/item/clothing/mask/gas/explorer/folded/proc/force_adjust_mask() + up = !up + update_icon(UPDATE_ICON_STATE) + gas_transfer_coefficient = null + permeability_coefficient = null + flags_cover &= ~MASKCOVERSMOUTH + flags_inv &= ~HIDEFACE + flags &= ~AIRTIGHT + w_class = WEIGHT_CLASS_SMALL + //Bane gas mask /obj/item/clothing/mask/banemask