public void Next() { while (true) { Queue.UpdateSprites(initative.Queue); var characterOnTurn = initative.Next(); if (characterOnTurn.CharacterAttributes.isStunned == false) { characterOnTurn.CharacterAttributes.NewTurn(); characterOnTurn.CharacterHighlight.Select(); BattleUIScript.UpdateCharacterOnTurnState(characterOnTurn); break; } else { characterOnTurn.CharacterAttributes.isStunned = false; } } }