Skip to content

Commit

Permalink
Merge pull request #5850 from Dimasw99/rig
Browse files Browse the repository at this point in the history
Cosmetic check fix
  • Loading branch information
Trilbyspaceclone authored Nov 19, 2024
2 parents 4a44ce4 + 2b8e886 commit e044426
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions code/modules/clothing/spacesuits/rig/rig.dm
Original file line number Diff line number Diff line change
Expand Up @@ -688,9 +688,8 @@
if(!check_slot.armor_list || check_slot == wearer.shoes || check_slot == wearer.gloves)
return TRUE
for(var/i in check_slot.armor_list)
var/a = check_slot.armor_list[i]
for(a in armor)
if(check_slot.armor_list[i] > 2)
for(var/a in armor)
if(check_slot.armor_list[i] > 2 && i == a)
return FALSE
if(check_slot.armor_list[ARMOR_BIO] > 75) //Let the nerds keep the labcoat drip
return FALSE
Expand Down

0 comments on commit e044426

Please sign in to comment.