From 76c09ad59ccfb9b29b6daf37b9ccdd6ac5699384 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Thu, 12 Dec 2019 23:57:26 +0200 Subject: [PATCH] Resolved #1440 - Barbarians now function again! --- core/src/com/unciv/logic/GameInfo.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/GameInfo.kt b/core/src/com/unciv/logic/GameInfo.kt index 09a8261abb..70c3449e30 100644 --- a/core/src/com/unciv/logic/GameInfo.kt +++ b/core/src/com/unciv/logic/GameInfo.kt @@ -78,7 +78,8 @@ class GameInfo { switchTurn() while(thisPlayer.playerType==PlayerType.AI){ - if(!thisPlayer.isDefeated()) NextTurnAutomation().automateCivMoves(thisPlayer) + if(thisPlayer.isBarbarian() || !thisPlayer.isDefeated()) + NextTurnAutomation().automateCivMoves(thisPlayer) switchTurn() }