Minor marketing adjustments

This commit is contained in:
Tobias Springer 2021-03-10 10:10:18 +01:00
parent 226149a40f
commit dfd64a901b
6 changed files with 16 additions and 8 deletions

View file

@ -5,7 +5,7 @@ import { T } from "../../../translations";
import { BaseHUDPart } from "../base_hud_part";
import { DynamicDomAttach } from "../dynamic_dom_attach";
const showIntervalSeconds = 30 * 60;
const showIntervalSeconds = 9 * 60;
export class HUDStandaloneAdvantages extends BaseHUDPart {
createElements(parent) {
@ -25,7 +25,7 @@ export class HUDStandaloneAdvantages extends BaseHUDPart {
([key, trans]) => `
<div class="point ${key}">
<strong>${trans.title}</strong>
<p>${trans.desc}</p>
<p>${trans.desc}</p>
</div>`
)
.join("")}
@ -60,7 +60,7 @@ export class HUDStandaloneAdvantages extends BaseHUDPart {
this.inputReciever = new InputReceiver("standalone-advantages");
this.close();
this.lastShown = this.root.gameIsFresh ? this.root.time.now() : 0;
this.lastShown = -1e10;
}
show() {