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