mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-19 21:28:37 +01:00
7c8bb85de3
* Update settings * Whitespace changes * Comment out merger hooks in gitattributes Corrupt maps would have to be resolved in repo before hooks could be updated * Revert "Whitespace changes" This reverts commitafbdd1d844. * Whitespace again minus example * Gitignore example changelog * Restore changelog merge setting * Keep older dmi hook attribute until hooks can be updated * update vscode settings too * Renormalize remaining * Revert "Gitignore example changelog" This reverts commitde22ad375d. * Attempt to normalize example.yml (and another file I guess) * Try again
20 lines
643 B
Plaintext
20 lines
643 B
Plaintext
/mob/living/Logout()
|
|
..()
|
|
if (mind)
|
|
//Per BYOND docs key remains set if the player DCs, becomes null if switching bodies.
|
|
if(!key) //key and mind have become seperated.
|
|
mind.active = 0 //This is to stop say, a mind.transfer_to call on a corpse causing a ghost to re-enter its body.
|
|
|
|
var/datum/component/character_setup/cs = GetComponent(/datum/component/character_setup)
|
|
if(cs)
|
|
qdel(cs)
|
|
|
|
var/datum/component/vore_panel/vp = GetComponent(/datum/component/vore_panel)
|
|
if(vp)
|
|
qdel(vp)
|
|
|
|
spawn(15 SECONDS) //15 seconds to get back into the mob before it goes wild
|
|
if(src && !src.client)
|
|
if(ai_holder)
|
|
ai_holder.go_wake()
|