mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-22 05:41:11 +07:00
Barbarians no longer disband units for lack of gold
This commit is contained in:
@ -192,7 +192,7 @@ class CivilizationInfo {
|
|||||||
|
|
||||||
policies.endTurn(nextTurnStats.culture.toInt())
|
policies.endTurn(nextTurnStats.culture.toInt())
|
||||||
|
|
||||||
if(gold < -100){
|
if(!isBarbarianCivilization() && gold < -100){
|
||||||
// disband units until there are none left OR the gold values are normal
|
// disband units until there are none left OR the gold values are normal
|
||||||
val unitUpkeepBeforeDisbands = getUnitUpkeep()
|
val unitUpkeepBeforeDisbands = getUnitUpkeep()
|
||||||
var civMilitaryUnits = getCivUnits().filter { it.getBaseUnit().unitType!=UnitType.Civilian }
|
var civMilitaryUnits = getCivUnits().filter { it.getBaseUnit().unitType!=UnitType.Civilian }
|
||||||
|
Reference in New Issue
Block a user