[SUPPORT] Advanced Turn Based Tile Toolkit

Hello ,

I ran into a problem with the Game Over message never showing up in a certain circumstance. After a week of debugging and listening to you videos over and over, I figured out how to solve it and will explain it now.

So I have a unit with 3 Action Points and 3 Abilities something like this:

Move
Staff Attack (melee)
Lightning Strike (ranged)

I always had everything in code working fine, except in one situation. That is when the AI used the Melee Staff Attack to kill the last enemy in game. That leaves 1 or maybe even 2 Action Points left with that unit, so the Turn never ends, the game freezes in the RunNextAction loop, and the game never displays Game Over Message never shows up even though the game is over and the unit just runs idle animation.