public void AddPlayer(byte playerId, string playerName, bool isLocal)
        {
            Debug.Log("AddPlayer");
            TSPlayer tSPlayer = new TSPlayer(playerId, playerName);

            players.Add(tSPlayer.ID, tSPlayer);
            activePlayers.Add(tSPlayer);
            if (isLocal)
            {
                localPlayer = tSPlayer;
                localPlayer.sentSyncedStart = true;
            }
            UpdateActivePlayers();
            if (replayMode == ReplayMode.RECORD_REPLAY)
            {
                replayRecord.AddPlayer(tSPlayer);
            }
        }