mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
[FIX] Mobs that were offered up to ghosts no longer get taken over by their old owners (#26650)
* Grab_ghost now checks the ckey of the mind * Remove superfluous loops for getting ghosts. * Early return for MMI --------- Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
co-authored by
adrermail@gmail.com <adrermail@gmail.com>
parent
98912fcea9
commit
8d82546d9d
@@ -59,14 +59,7 @@
|
||||
. += "You can feel a bright spark of life in this one!"
|
||||
return
|
||||
if(brainmob?.mind)
|
||||
var/foundghost = FALSE
|
||||
for(var/mob/dead/observer/G in GLOB.player_list)
|
||||
if(G.mind == brainmob.mind)
|
||||
foundghost = TRUE
|
||||
if(!G.can_reenter_corpse)
|
||||
foundghost = FALSE
|
||||
break
|
||||
if(foundghost)
|
||||
if(brainmob.get_ghost())
|
||||
. += "You can feel the small spark of life still left in this one."
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user