|
|
@ -5,7 +5,7 @@ import { T } from "../../../translations";
|
|
|
|
import { BaseHUDPart } from "../base_hud_part";
|
|
|
|
import { BaseHUDPart } from "../base_hud_part";
|
|
|
|
import { DynamicDomAttach } from "../dynamic_dom_attach";
|
|
|
|
import { DynamicDomAttach } from "../dynamic_dom_attach";
|
|
|
|
|
|
|
|
|
|
|
|
const showIntervalSeconds = 30 * 60;
|
|
|
|
const showIntervalSeconds = 9 * 60;
|
|
|
|
|
|
|
|
|
|
|
|
export class HUDStandaloneAdvantages extends BaseHUDPart {
|
|
|
|
export class HUDStandaloneAdvantages extends BaseHUDPart {
|
|
|
|
createElements(parent) {
|
|
|
|
createElements(parent) {
|
|
|
@ -60,7 +60,7 @@ export class HUDStandaloneAdvantages extends BaseHUDPart {
|
|
|
|
this.inputReciever = new InputReceiver("standalone-advantages");
|
|
|
|
this.inputReciever = new InputReceiver("standalone-advantages");
|
|
|
|
this.close();
|
|
|
|
this.close();
|
|
|
|
|
|
|
|
|
|
|
|
this.lastShown = this.root.gameIsFresh ? this.root.time.now() : 0;
|
|
|
|
this.lastShown = -1e10;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
show() {
|
|
|
|
show() {
|
|
|
|