diff --git a/code/game/objects/items/props/helmetgarb.dm b/code/game/objects/items/props/helmetgarb.dm index dd14a35c9418..137aa57fde79 100644 --- a/code/game/objects/items/props/helmetgarb.dm +++ b/code/game/objects/items/props/helmetgarb.dm @@ -497,22 +497,17 @@ icon_state = "helmet_gasmask" /obj/item/prop/helmetgarb/helmet_gasmask/on_enter_storage(obj/item/storage/internal/helmet_internal_inventory) - if(!istype(helmet_internal_inventory)) - return - + ..() var/obj/item/clothing/head/helmet/helmet_item = helmet_internal_inventory.master_object if(!istype(helmet_item)) return - helmet_item.flags_inventory|=BLOCKGASEFFECT - helmet_item.flags_inv_hide|=HIDEFACE - ..() + helmet_item.flags_inventory |= BLOCKGASEFFECT + helmet_item.flags_inv_hide |= HIDEFACE /obj/item/prop/helmetgarb/helmet_gasmask/on_exit_storage(obj/item/storage/internal/helmet_internal_inventory) - if(!istype(helmet_internal_inventory)) - return - + ..() var/obj/item/clothing/head/helmet/helmet_item = helmet_internal_inventory.master_object if(!istype(helmet_item)) @@ -520,7 +515,6 @@ helmet_item.flags_inventory = initial(helmet_item.flags_inventory) helmet_item.flags_inv_hide = initial(helmet_item.flags_inv_hide) - return..() /obj/item/prop/helmetgarb/trimmed_wire name = "trimmed barbed wire"