Пример #1
0
        private void UpdateGameDataPlayers()
        {
            if (Ap.Options.LockGameData && GameMode == GameMode.HumanVsHuman)
            {
                return;
            }

            if (NextMoveNo <= 1 && !GameData.IsPlayersSwapped)
            {
                GameData.White1 = Player1.PlayerTitle;
                GameData.Black1 = Player2.PlayerTitle;
                GameData.Save();
                GameData.IsPlayersSwapped = true;
            }
        }
Пример #2
0
        private void UpdateGameDataPlayers()
        {
            if (Ap.Options.LockGameData && GameMode == GameMode.HumanVsHuman)
            {
                return;
            }

            if (NextMoveNo <= 1 && !GameData.IsPlayersSwapped)
            {
                SwapGameDataPlayers();

                GameData.Save();
                GameData.IsPlayersSwapped = true;
            }
        }