The animate() procedure is not using icon_state in each rule of the argument.
Numbered Steps to Reproduce Problem:
animate(mob,icon_state = "something",time = 5)
animate(icon_state = "something_else")
Code Snippet (if applicable) to Reproduce Problem:
animate(mob,icon_state = "something",time = 5)
animate(icon_state = "something_else")
Expected Results:
The icon_state should only be used in the step it's on.
Actual Results:
The final icon_state in the set of steps is being used and not changed per step. In the above example "something_else" is being used over "something" even in the first step.
Does the problem occur:
Every time? Or how often? Every time.
In other games? Not sure.
In other user accounts? Yes.
On other computers? Yes.
When does the problem NOT occur?
Don't define icon_state in the steps which kind of messes with the whole thing. So Ignore icon_state entirely or define it step by step in another manner.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
No. it started to occur when 513 hit.
Workarounds:
Create another way to handle icon states.