Skip to content

Commit

Permalink
Fixes Stamcritting Not Making The User Incapacitated (tgstation#50327)
Browse files Browse the repository at this point in the history
* 💤

* proper fix

* movies
  • Loading branch information
ExcessiveUseOfCobblestone authored Apr 2, 2020
1 parent 21fee5c commit 61191ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/mob/living/carbon/carbon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@
enter_stamcrit()
else if(stam_paralyzed)
stam_paralyzed = FALSE
REMOVE_TRAIT(src,TRAIT_INCAPACITATED, STAMINA)
else
return
update_health_hud()
Expand Down
1 change: 1 addition & 0 deletions code/modules/mob/living/carbon/status_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
to_chat(src, "<span class='notice'>You're too exhausted to keep going...</span>")
var/prev = stam_paralyzed
stam_paralyzed = TRUE
ADD_TRAIT(src, TRAIT_INCAPACITATED, STAMINA)
if(!prev && getStaminaLoss() < 120) // Puts you a little further into the initial stamcrit, makes stamcrit harder to outright counter with chems.
adjustStaminaLoss(30, FALSE)
update_mobility()
Expand Down

0 comments on commit 61191ad

Please sign in to comment.