diff --git a/core/src/com/unciv/logic/automation/Automation.kt b/core/src/com/unciv/logic/automation/Automation.kt index bbd45b6e5a..cde7b34cee 100644 --- a/core/src/com/unciv/logic/automation/Automation.kt +++ b/core/src/com/unciv/logic/automation/Automation.kt @@ -19,8 +19,10 @@ class Automation { var rank = 0.0f if (stats.food <= 2) rank += stats.food else rank += (2 + (stats.food - 2) / 2) // 1 point for each food up to 2, from there on half a point - if(civInfo.gold>0 && civInfo.getStatsForNextTurn().gold>0) rank += stats.gold / 2 - else rank += stats.gold + + if (civInfo.gold < 0 && civInfo.getStatsForNextTurn().gold <= 0) rank += stats.gold + else rank += stats.gold / 2 + rank += stats.production rank += stats.science rank += stats.culture