mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[MIRROR] Fix misleading examine messages on the head without body (#1811)
* Detect if ghost reentered the brain (#54975) * Fix misleading examine messages on the head without body Co-authored-by: antropod <antropod@gmail.com>
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
else if(brainmob?.health <= HEALTH_THRESHOLD_DEAD)
|
||||
. += "<span class='info'>It's leaking some kind of... clear fluid? The brain inside must be in pretty bad shape.</span>"
|
||||
else if(brainmob)
|
||||
if(brainmob.get_ghost(FALSE, TRUE))
|
||||
if(brainmob.key || brainmob.get_ghost(FALSE, TRUE))
|
||||
. += "<span class='info'>Its muscles are twitching slightly... It seems to have some life still in it.</span>"
|
||||
else
|
||||
. += "<span class='info'>It's completely lifeless. Perhaps there'll be a chance for them later.</span>"
|
||||
|
||||
Reference in New Issue
Block a user