mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Fixes runtimes (#11421)
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1394e54c33
commit
ece6e8b28a
@@ -292,8 +292,9 @@
|
||||
if(H.should_have_organ(O_BRAIN))
|
||||
if(!brain)
|
||||
return "buzzes, \"Resuscitation failed - Patient lacks a brain. Further attempts futile without replacement.\""
|
||||
if(brain.defib_timer <= 0)
|
||||
return "buzzes, \"Resuscitation failed - Patient's brain has naturally degraded past a recoverable state. Further attempts futile.\""
|
||||
else if(istype(brain, /obj/item/organ/internal/brain)) //Some species have weird 'brains' that aren't technically brains. Those don't have defib timers.
|
||||
if(brain.defib_timer <= 0)
|
||||
return "buzzes, \"Resuscitation failed - Patient's brain has naturally degraded past a recoverable state. Further attempts futile.\""
|
||||
|
||||
H.updatehealth()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user