Fix: Bot repeating upon 6 rolled upon.
This commit is contained in:
parent
be79221cbd
commit
1f10a0a52e
@ -755,15 +755,10 @@ public class GameplayManager : MonoBehaviour, IBase, IBootLoader, IDataLoader
|
|||||||
|
|
||||||
nextTile.InitPlayerPawn(playerPawn, currentPlayerTypeTurn);
|
nextTile.InitPlayerPawn(playerPawn, currentPlayerTypeTurn);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
if (playerPawn.IsBotPlayer && CanRollDiceAgain)
|
|
||||||
CheckDiceRollForBot(playerPawn);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
SwitchPlayer(playerPawn);
|
||||||
if (!CanRollDiceAgain)
|
if (!CanRollDiceAgain)
|
||||||
{
|
{
|
||||||
SwitchPlayer(playerPawn);
|
|
||||||
SetCanRollDiceForUser(playerPawn.PlayerType, true);
|
SetCanRollDiceForUser(playerPawn.PlayerType, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user