mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[MIRROR] Fixes permanent stamina crit while in stasis (#1271)
* Fixes permanent stamina crit while in stasis (#54319) * Fixes permanent stamina crit while in stasis Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
@@ -20,12 +20,6 @@
|
||||
if(.) //not dead
|
||||
handle_blood()
|
||||
|
||||
if(stat != DEAD)
|
||||
var/bprv = handle_bodyparts()
|
||||
if(bprv & BODYPART_LIFE_UPDATE_HEALTH)
|
||||
update_stamina() //needs to go before updatehealth to remove stamcrit
|
||||
updatehealth()
|
||||
|
||||
if(stat != DEAD)
|
||||
handle_brain_damage()
|
||||
|
||||
@@ -35,6 +29,11 @@
|
||||
if(stat == DEAD)
|
||||
stop_sound_channel(CHANNEL_HEARTBEAT)
|
||||
LoadComponent(/datum/component/rot/corpse)
|
||||
else
|
||||
var/bprv = handle_bodyparts()
|
||||
if(bprv & BODYPART_LIFE_UPDATE_HEALTH)
|
||||
update_stamina() //needs to go before updatehealth to remove stamcrit
|
||||
updatehealth()
|
||||
|
||||
check_cremation()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user