mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 06:51:30 -04:00
Resolved #1859 - skip defeated players' turns in multiplayer
This commit is contained in:
parent
61471683fc
commit
f8f44320ae
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user