Skip to content

Commit

Permalink
Update carbon.dm (#11548)
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerfulBacon authored Sep 22, 2024
1 parent 6a346a2 commit 767c8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/carbon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ CREATION_TEST_IGNORE_SELF(/mob/living/carbon)
var/stam = getStaminaLoss()
if(stam >= DAMAGE_PRECISION && (maxHealth - stam) <= crit_threshold && !HAS_TRAIT(src, TRAIT_NOSTAMCRIT))
if(!stat)
if(extend_stam_crit && !HAS_TRAIT_FROM(src, TRAIT_INCAPACITATED, STAMINA))
if(extend_stam_crit || !HAS_TRAIT_FROM(src, TRAIT_INCAPACITATED, STAMINA))
enter_stamcrit()
else if(HAS_TRAIT_FROM(src, TRAIT_INCAPACITATED, STAMINA))
REMOVE_TRAIT(src, TRAIT_INCAPACITATED, STAMINA)
Expand Down

0 comments on commit 767c8cf

Please sign in to comment.