From 7a4c4878b50e813da2e5e235e85181fad18eac21 Mon Sep 17 00:00:00 2001 From: HMBGERDO <61080616+HMBGERDO@users.noreply.github.com> Date: Thu, 6 Jun 2024 21:10:34 +0200 Subject: [PATCH] Fixing increased stamina crit regen time (#25734) * stamina regen should be 10(+2) seconds, not 20(+2) * less lines of code --- code/modules/mob/living/carbon/carbon_life.dm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/modules/mob/living/carbon/carbon_life.dm b/code/modules/mob/living/carbon/carbon_life.dm index 27ca9cd42d3..bcbe2114812 100644 --- a/code/modules/mob/living/carbon/carbon_life.dm +++ b/code/modules/mob/living/carbon/carbon_life.dm @@ -248,13 +248,9 @@ /mob/living/carbon/handle_status_effects() ..() if(stam_regen_start_time <= world.time) - if(stam_paralyzed) - update_stamina() if(staminaloss) - setStaminaLoss(0, FALSE) + setStaminaLoss(0) SEND_SIGNAL(src, COMSIG_CARBON_STAMINA_REGENERATED) - update_stamina_hud() - update_health_hud() // Keep SSD people asleep if(player_logged)