void CmdEndTurnEarly() { NetworkManager nm = NetworkManager.Instance; uint netId = this.netId.Value; if (!nm.playersThatEndedEarly.Contains(netId)) { nm.playersThatEndedEarly.Add(netId); Debug.Log(netId + " ended early"); if (nm.playersThatEndedEarly.Count == nm.getPlayerList().Count) { nm.playersThatEndedEarly.Clear(); nm.AlterTurns(); } } }