mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
I swear, this is the third time I fixes an issue related to this proc. How hard can it be to get this right? (#45293)
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
if(stat == DEAD)
|
||||
stop_sound_channel(CHANNEL_HEARTBEAT)
|
||||
LoadComponent(/datum/component/rot/corpse)
|
||||
|
||||
|
||||
check_cremation()
|
||||
|
||||
//Updates the number of stored chemicals for powers
|
||||
@@ -579,14 +579,16 @@ GLOBAL_LIST_INIT(ballmer_windows_me_msg, list("Yo man, what if, we like, uh, put
|
||||
//LIVER//
|
||||
/////////
|
||||
|
||||
///Decides if the liver is failing or not.
|
||||
/mob/living/carbon/proc/handle_liver()
|
||||
if(!dna)
|
||||
return
|
||||
var/obj/item/organ/liver/liver = getorganslot(ORGAN_SLOT_LIVER)
|
||||
if(liver)
|
||||
if(liver.damage >= liver.maxHealth)
|
||||
liver.failing = TRUE
|
||||
liver_failure()
|
||||
else
|
||||
liver_failure()
|
||||
if(liver.damage < liver.maxHealth)
|
||||
return
|
||||
liver.failing = TRUE
|
||||
liver_failure()
|
||||
|
||||
/mob/living/carbon/proc/undergoing_liver_failure()
|
||||
var/obj/item/organ/liver/liver = getorganslot(ORGAN_SLOT_LIVER)
|
||||
|
||||
Reference in New Issue
Block a user