Fix: Bot repeating upon 6 rolled upon.

This commit is contained in:
Ashby Issac 2026-01-29 19:59:17 +05:30
parent be79221cbd
commit 1f10a0a52e

View File

@ -755,15 +755,10 @@ public class GameplayManager : MonoBehaviour, IBase, IBootLoader, IDataLoader
nextTile.InitPlayerPawn(playerPawn, currentPlayerTypeTurn);
}
else
{
if (playerPawn.IsBotPlayer && CanRollDiceAgain)
CheckDiceRollForBot(playerPawn);
}
SwitchPlayer(playerPawn);
if (!CanRollDiceAgain)
{
SwitchPlayer(playerPawn);
SetCanRollDiceForUser(playerPawn.PlayerType, true);
}
}