[SUPPORT] Advanced Turn Based Tile Toolkit

So the idea behind the function is that at the end of a unit’s turn Exhausted is set to true for that unit and it is put at the end of the initiative order array. When the turn manager attempts to activate a new unit and finds that it is exhausted this means that all units have acted and we are back to the first unit that got activated this turn. This tells the turn manager that the turn is done and that we should start a new one, which makes it increase the turn counter by one and set exhausted to false for all units.

From reading your reply I assume you want to prevent the turn manager from automatically starting a new turn after all units have acted one turn and wait for player input? If so you would want to add a branch preventing the rest of the execution chain from activating whenever the turn counter increases.