public static void SyncDiceResults(List <DieSide> sides) { Phases.CurrentSubPhase.IsReadyForCommands = false; bool wasFixed = false; for (int i = 0; i < DiceRoll.CurrentDiceRoll.DiceList.Count; i++) { Die die = DiceRoll.CurrentDiceRoll.DiceList[i]; if (die.Side != sides[i]) { die.SetSide(sides[i]); die.SetModelSide(sides[i]); wasFixed = true; } } if (wasFixed) { DiceRoll.CurrentDiceRoll.OrganizeDicePositions(); } CurrentDiceRoll.ExecuteCallback(); }