From 7443493a3e459dda11fb15cbcad4439b7d2ca72c Mon Sep 17 00:00:00 2001 From: Trilby Date: Fri, 27 Dec 2024 16:54:54 -0500 Subject: [PATCH] Fixes rig pieces randomly losing temp/shock protection --- code/modules/clothing/spacesuits/rig/rig.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/modules/clothing/spacesuits/rig/rig.dm b/code/modules/clothing/spacesuits/rig/rig.dm index 3670257398a..36c6bc68132 100755 --- a/code/modules/clothing/spacesuits/rig/rig.dm +++ b/code/modules/clothing/spacesuits/rig/rig.dm @@ -250,6 +250,13 @@ if(armor_list) piece.armor = armor piece.name = "[suit_type] [initial(piece.name)]" + piece.min_cold_protection_temperature = min_cold_protection_temperature + piece.max_heat_protection_temperature = max_heat_protection_temperature + if(piece.siemens_coefficient > siemens_coefficient) //So that insulated gloves keep their insulation. + piece.siemens_coefficient = siemens_coefficient + piece.permeability_coefficient = permeability_coefficient + piece.unacidable = unacidable + if(canremove) piece.item_flags &= ~(STOPPRESSUREDAMAGE|AIRTIGHT)