This fixes an issue that causes the action to get "stuck" if an action is cancelled while in the Init state.
I think my understanding of the issue is incomplete because I wasn't able to write a test for the fix, but this does solve the problem I was having in my game where actors with large and complex Thinkers would occasionally and unpredictably get stuck and stop acting.
This fixes an issue that causes the action to get "stuck" if an action is cancelled while in the
Init
state.I think my understanding of the issue is incomplete because I wasn't able to write a test for the fix, but this does solve the problem I was having in my game where actors with large and complex
Thinker
s would occasionally and unpredictably get stuck and stop acting.