When making rapid changes to a mob's filters, and setting them to null, the icon will blink to a blank state. Even if the filters fail, the base icon should still display fine.
Code Snippet (if applicable) to Reproduce Problem:
mob
verb
test_blur()
usr.testBlur()
proc
testBlur()
filters = filter(type = "motion_blur", x = 0, y = 0)
animate(filters[1], x = 2, time = 5)
animate(x = 0, time = 5)
spawn(10)
filters = null
Login()
..()
for(var/i = 1 to 6)
filters = filter(type = "blur", size = 0)
animate(filters[1], size = 2, time = 1)
animate(size = 0, time = 1)
sleep(2)
testBlur()
sleep(2)
filters = null
sleep(6)
Expected Results:
A janky and probably failed blur, but for the base icon to stay there at least.
Actual Results:
The icon briefly disappears when testBlur() runs.
Does the problem occur:
Every time? Or how often?
Almost every time.
On other computers?
Yes.
When does the problem NOT occur?
On rare occasions it would not trigger, and activating client Profiling seemed to fix it for whatever reason.