mutable_appearances can not have overlays removed properly. Adding overlays works fine so this should be a valid bug.
Code Snippet (if applicable) to Reproduce Problem:
mob/verb/TestIcon1()
overlays += 'test.dmi'
sleep(5)
overlays -= 'test.dmi'
mob/verb/TestIcon2()
overlays += 'test.dmi'
sleep(5)
var/mutable_appearance/ma = new(src)
ma.overlays -= 'test.dmi'
appearance = ma
Expected Results:
TestIcon1() and TestIcon2() should remove the test.dmi icon from the overlays.
Actual Results:
TestIcon1() removes the test.dmi icon from the overlays.
TestIcon2() does NOT remove the test.dmi icon from the overlays.