I can't for the life of me figure out what is going wrong here. The skeleton moves toward the player as expected and stops when in LOS range (meaning the LOS range is not the problem). It just won't resume moving once the player moves out of range again. I tried switching sprites and the same thing is happening.
The debugger is showing that the state does not change back to not attacking, It's stuck in attacking for some reason
I even made a new project with the same logic and it works perfectly fine...
Any ideas?