Skip to content

Commit

Permalink
Initial ghost offering logs (#27817)
Browse files Browse the repository at this point in the history
  • Loading branch information
Burzah authored Jan 6, 2025
1 parent 8e60888 commit 30e3284
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/mob/mob_misc_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
theghost = pick(candidates)
to_chat(M, "Your mob has been taken over by a ghost!")
message_admins("[key_name_admin(theghost)] has taken control of ([key_name_admin(M)])")
log_admin("[key_name(theghost)] has taken control of [key_name(M)]")
var/mob/dead/observer/ghost = M.ghostize(TRUE) // Keep them respawnable
ghost?.can_reenter_corpse = FALSE // but keep them out of their old body
M.key = theghost.key
Expand Down

0 comments on commit 30e3284

Please sign in to comment.