mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-18 00:28:14 +00:00
Apply AI TroopAdvantageLayer tick suggestion
This commit is contained in:
@@ -76,7 +76,7 @@ export class TroopAdvantageLayer implements Layer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tick() {
|
tick() {
|
||||||
if (!this.userSettings.troopAdvantageLayer()) {
|
if (!this.userSettings.troopAdvantageLayer() || !this.isVisible) {
|
||||||
if (this.labels.size > 0) this.clearAllLabels();
|
if (this.labels.size > 0) this.clearAllLabels();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user