mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 08:31:57 +00:00
This shit is just full of issues that keep popping up and frankly I can't be fucked to deal with them. Note: I'll probably do the same thing again but very simplified later on. This iteration is a mistake in how much of a mess it is, unfortunately.
9 lines
336 B
Plaintext
9 lines
336 B
Plaintext
/mob/living/Logout()
|
|
if (stamina_bar)
|
|
QDEL_NULL(stamina_bar)
|
|
..()
|
|
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.
|