Fixing increased stamina crit regen time (#25734)

* stamina regen should be 10(+2) seconds, not 20(+2)

* less lines of code
This commit is contained in:
HMBGERDO
2024-06-06 21:10:34 +02:00
committed by GitHub
parent e66428421b
commit 7a4c4878b5
@@ -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)