ID:1700794
 
Code:
client/Del()
if(!(src.ckey in temporelogando)) spawn(-1) tempo30(src.ckey)
if(src.mob)
src.mob.LogoutGo()
del(mob)
..()


Problem description:
Yesterday a player had not deleted the mob, is very rare. Why was not deleted?

in theory all logged client has a mob. Has no command to change the mob client.

then whatever I leave if (src.mob). It will not make a difference.

This can happen if the client by taking off the pc without closing the game?


mob/Logout()
del(src)
..()
var/list/temporelogando=new/list
proc/tempo30(ckeyy)
temporelogando+=ckeyy
sleep(250)
temporelogando-=ckeyy
client/Del()
if(!(src.ckey in temporelogando)) spawn(-1) tempo30(src.ckey)
if(src.mob) src.mob.LogoutGo()
..()

Does this solve?
so this is right?