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
@@ -183,8 +183,8 @@
|
||||
)
|
||||
|
||||
busy = TRUE
|
||||
var/mob/dead/observer/ghost = target.get_ghost(TRUE)
|
||||
if(ghost?.can_reenter_corpse)
|
||||
var/mob/dead/observer/ghost = target.get_ghost()
|
||||
if(ghost)
|
||||
to_chat(ghost, "<span class='ghostalert'>Your heart is being defibrillated. Return to your body if you want to be revived!</span> (Verbs -> Ghost -> Re-enter corpse)")
|
||||
window_flash(ghost.client)
|
||||
SEND_SOUND(ghost, sound('sound/effects/genetics.ogg'))
|
||||
|
||||
Reference in New Issue
Block a user