Skip to content

Commit

Permalink
Fixes rig pieces randomly losing temp/shock protection
Browse files Browse the repository at this point in the history
  • Loading branch information
Trilbyspaceclone committed Dec 27, 2024
1 parent b3343ac commit 7443493
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/modules/clothing/spacesuits/rig/rig.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7443493

Please sign in to comment.