mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-30 12:03:11 +00:00
Removed player_logged var since it didn't serve it's intended purpose and replaced with aghosted var. Changed SSD checks to only look at client since regardless of what key gets set to I think we probably don't want players being told a mob is SSD if there is some client controlling it.
7 lines
299 B
Plaintext
7 lines
299 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.
|