Skip to content

Commit

Permalink
Merge pull request #5921 from Trilbyspaceclone/rig_fix_heat
Browse files Browse the repository at this point in the history
Fixes rig pieces randomly losing temp/shock protection
  • Loading branch information
Trilbyspaceclone authored Dec 28, 2024
2 parents b3343ac + 7443493 commit b1d59d9
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 b1d59d9

Please sign in to comment.