mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-20 20:59:18 +07:00
Fixed bug where "[All] units" would not apply to city combatants (#4601)
This commit is contained in:
@ -20,7 +20,7 @@ class CityCombatant(val city: CityInfo) : ICombatant {
|
||||
override fun isDefeated(): Boolean = city.health == 1
|
||||
override fun isInvisible(): Boolean = false
|
||||
override fun canAttack(): Boolean = city.canBombard()
|
||||
override fun matchesCategory(category: String) = category == "City"
|
||||
override fun matchesCategory(category: String) = category == "City" || category == "All"
|
||||
override fun getAttackSound() = UncivSound.Bombard
|
||||
|
||||
override fun takeDamage(damage: Int) {
|
||||
|
Reference in New Issue
Block a user