mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Fixes tempbody taking aghosted bodies (#95996)
## About The Pull Request If you're an adminghosted body, you will no longer be sent back to your corpse afterwards. The Mind will still move over, but you wont immediately re-enter your body. Just as an example, an Admin is aghosted on Centcom after testing some stuff, plays a round of Mafia, then is suddenly back in their body in Centcom. Also fixes temp body not working for Mafia (due to the corpse locking) ## Why It's Good For The Game You're going to the THUNDERDOME. ## Changelog 🆑 fix: Mafia players now get sent back to their bodies again post-game. admin: Admin players aren't forcefully put back into aghosted bodies after using a temporary body spawner. /🆑
This commit is contained in:
@@ -227,9 +227,9 @@
|
||||
return
|
||||
ghostize(TRUE)
|
||||
|
||||
/mob/eye/imaginary_friend/hivemind/ghostize(can_reenter_corpse, admin_ghost)
|
||||
/mob/eye/imaginary_friend/hivemind/ghostize(can_reenter_corpse, forced)
|
||||
. = ..()
|
||||
if(admin_ghost)
|
||||
if(forced)
|
||||
return
|
||||
|
||||
alert_hivemind("You sense the presence of [real_name] disappear from the hivemind.")
|
||||
|
||||
Reference in New Issue
Block a user