mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Cleanups and tweaks observer code (#30250)
* observer cleanup * this * bit more * Update tgui.bundle.js
This commit is contained in:
@@ -269,7 +269,7 @@
|
||||
else if(!target.get_organ_slot("brain")) // So things like headless clings don't get outed
|
||||
failure_message = "<span class='boldnotice'>[defib_ref] buzzes: Resuscitation failed - No brain detected within patient.</span>"
|
||||
else if(ghost)
|
||||
if(!ghost.can_reenter_corpse || target.suiciding) // DNR or AntagHUD
|
||||
if(!(ghost.ghost_flags & GHOST_CAN_REENTER) || target.suiciding) // DNR or AntagHUD
|
||||
failure_message = "<span class='boldnotice'>[defib_ref] buzzes: Resuscitation failed - No electrical brain activity detected.</span>"
|
||||
else
|
||||
failure_message = "<span class='boldnotice'>[defib_ref] buzzes: Resuscitation failed - Patient's brain is unresponsive. Further attempts may succeed.</span>"
|
||||
|
||||
Reference in New Issue
Block a user