mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -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()
|
||||
// Deprecated as of 3.15.2
|
||||
"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