Resolved #1859 - skip defeated players' turns in multiplayer

This commit is contained in:
Yair Morgenstern 2020-02-06 22:51:26 +02:00
parent 61471683fc
commit f8f44320ae

View File

@ -82,8 +82,11 @@ class GameInfo {
while (thisPlayer.playerType == PlayerType.AI
|| UncivGame.Current.simulateUntilTurnForDebug > turns
// For multiplayer, if there are 3+ players and one is defeated,
// we'll want to skip over their turn
|| thisPlayer.isDefeated()
) {
if(thisPlayer.isBarbarian() || !thisPlayer.isDefeated()) {
if (!thisPlayer.isDefeated() || thisPlayer.isBarbarian()) {
NextTurnAutomation().automateCivMoves(thisPlayer)
// Placing barbarians after their turn