should invert SSD to apply to normal disconnects, but not ghosting admins

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael_Aislinn
2012-11-08 22:20:34 +10:00
parent c42003cdf6
commit 6f77899396

View File

@@ -2,5 +2,5 @@
..()
if(!key && mind) //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.
if(!immune_to_ssd && sleeping < 2)
sleeping = 2
if(!immune_to_ssd && sleeping < 2 && mind.active)
sleeping = 2