ID:261311
 
I put Nadrew's spell system in my game, and when somone is casting a spell(I should say "the spell" because the only spell I have is IceBolt)then they log out, they have the icebolt overlay over their character, and I can't get rid of it. I tried checking to see if somone had an overlay when they logged in, and if they did, it would remove it, but it didn't work. Could somone help me please?
Try using this code:

mob/Logout()
src.overlays=null
src.underlays=null
del(src)