Fixes taj overheating in their clothes (#11907)

This commit is contained in:
Casper3667
2021-05-21 16:44:59 -03:00
committed by GitHub
parent 3c97860292
commit cde13699c7
4 changed files with 9 additions and 1 deletions
@@ -295,7 +295,7 @@
for(var/obj/item/clothing/clothes in H)
if(H.l_hand == clothes|| H.r_hand == clothes)
continue
if((clothes.body_parts_covered & UPPER_TORSO) && (clothes.body_parts_covered & LOWER_TORSO))
if((clothes.body_parts_covered & UPPER_TORSO) && (clothes.body_parts_covered & LOWER_TORSO) && !clothes.no_overheat)
covered = 1
break