public void RestartMatch() { p1 = new TempPlayer(p1.connectionID, p1.username); p2 = new TempPlayer(p2.connectionID, p2.username); p1.Ready = false; p2.Ready = false; ServerTCP.PACKET_LoadMatch(p1.connectionID, matchID); ServerTCP.PACKET_LoadMatch(p2.connectionID, matchID); isActive = true; }
public void InitializeMatch() { ServerTCP.PACKET_LoadMatch(p1.connectionID, matchID); ServerTCP.PACKET_LoadMatch(p2.connectionID, matchID); }