mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Fixes defibbed corpse not getting blind overlay despite being in crit.
Brain mobs that are beaten to death can still be inserted inside a brainless human corpse but defibbing the corpse cannot work (the brain is too damaged). On the other hand cloning that corpse will still work. Deffibing a brainless corpse no longer gives "further attempts may be successful". Fixes brain mob's container var not being nullified on Destroy().
This commit is contained in:
@@ -187,7 +187,7 @@
|
||||
user << "<span class='warning'>The mmi indicates that their mind is currently inactive; it might change!</span>"
|
||||
return
|
||||
|
||||
if(BM.stat == DEAD || BM.health <= config.health_threshold_dead)
|
||||
if(BM.stat == DEAD || (M.brain && M.brain.damaged_brain))
|
||||
user << "<span class='warning'>Sticking a dead brain into the frame would sort of defeat the purpose!</span>"
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user