mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 23:10:39 -04:00
Fixed a bug where excess food would not be converted to production for settlers (#4221)
This commit is contained in:
parent
837d78db21
commit
4586e44ba6
@ -251,7 +251,10 @@ class BaseUnit : INamed, IConstruction {
|
|||||||
"Military", "military units" -> unitType.isMilitary()
|
"Military", "military units" -> unitType.isMilitary()
|
||||||
// Deprecated as of 3.15.2
|
// Deprecated as of 3.15.2
|
||||||
"military water" -> unitType.isMilitary() && unitType.isWaterUnit()
|
"military water" -> unitType.isMilitary() && unitType.isWaterUnit()
|
||||||
else -> false
|
else -> {
|
||||||
|
if (uniques.contains(filter)) return true
|
||||||
|
return false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user