Reloging makes the mob overlays to get stuck in the player
Numbered Steps to Reproduce Problem:
Add an overlay, reconect and try to remove it
Code Snippet (if applicable) to Reproduce Problem:
mob/verb
Train()
set name = "Train"
set category = "Skills"
if(usr.training || usr.sleeping)
usr.overlays -= usr.Emotion
usr.Emotion = null
else
usr.Emotion = 'bubbles2.dmi'
usr.overlays += usr.Emotion
/mob
Move()
if(Moveing || KO || Frozen || Stun)
return
..()
if(src.Emotion != null)
src.overlays -= src.Emotion
src.Emotion = null
src<<"You canceled the Training!"
Expected Results:
The bubble icon should disappear whenever the player moves, even after a logout
Actual Results:
The overlays stacks as you logout
Does the problem occur:
Every time? Or how often?Yes
In other games?Idk
In other user accounts?Yes
On other computers?Idk
When does the problem NOT occur?Before updating to the latest beta
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? It was fine at 510.1341
Workarounds:
removing every overlays