mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-30 08:52:12 +00:00
update views
This commit is contained in:
@@ -146,7 +146,7 @@ export class TerritoryLayer implements Layer {
|
||||
}
|
||||
const owner = tile.owner() as Player
|
||||
if (tile.isBorder()) {
|
||||
if (tile.defenseBonuses().filter(db => db.unit.owner() == owner).length > 0) {
|
||||
if (tile.hasDefenseBonus()) {
|
||||
this.paintCell(
|
||||
tile.cell(),
|
||||
this.theme.defendedBorderColor(owner.info()),
|
||||
|
||||
Reference in New Issue
Block a user