Files
Aurora.3/code/modules/mob/living/logout.dm
Matt Atlas de38551038 Revert "Ports Bay's stamina/sprinting intent system. (#8805)" (#9182)
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.
2020-06-23 20:07:06 +03:00

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.