mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-02 18:18:04 +00:00
Make territory highlighting more efficient
This commit is contained in:
@@ -55,7 +55,7 @@ export class TerritoryLayer implements Layer {
|
||||
paintPlayerBorder(player: PlayerView) {
|
||||
player.borderTiles().then((playerBorderTiles) => {
|
||||
playerBorderTiles.borderTiles.forEach((tile: TileRef) => {
|
||||
this.paintTerritory(tile); // Immediately paint the tile instead of enqueueing
|
||||
this.paintTerritory(tile, true); // Immediately paint the tile instead of enqueueing
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user