mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-20 20:59:18 +07:00
Fixed bug that caused barbarians to not do anything
This commit is contained in:
@ -38,7 +38,7 @@ class GameInfo {
|
||||
// We need to update the stats after ALL the cities are done updating because
|
||||
// maybe one of them has a wonder that affects the stats of all the rest of the cities
|
||||
|
||||
for (civInfo in civilizations.filterNot { it==player || it.isDefeated() }){
|
||||
for (civInfo in civilizations.filterNot { it==player || (it.isDefeated() && !it.isBarbarianCivilization()) }){
|
||||
civInfo.startTurn()
|
||||
Automation().automateCivMoves(civInfo)
|
||||
}
|
||||
|
Reference in New Issue
Block a user