Minor bugfixes for the standalone
This commit is contained in:
parent
3fe2264c80
commit
75b49b3b1b
|
@ -120,7 +120,9 @@ export class HUDStandaloneAdvantages extends BaseHUDPart {
|
||||||
this.final = final;
|
this.final = final;
|
||||||
this.root.app.inputMgr.makeSureAttachedAndOnTop(this.inputReciever);
|
this.root.app.inputMgr.makeSureAttachedAndOnTop(this.inputReciever);
|
||||||
|
|
||||||
if (this.final) {
|
if (this.root.time.now() < 120) {
|
||||||
|
this.title.innerText = "";
|
||||||
|
} else if (this.final) {
|
||||||
this.title.innerText = T.ingame.standaloneAdvantages.titleExpiredV2;
|
this.title.innerText = T.ingame.standaloneAdvantages.titleExpiredV2;
|
||||||
} else {
|
} else {
|
||||||
this.title.innerText = T.ingame.standaloneAdvantages.titleEnjoyingDemo;
|
this.title.innerText = T.ingame.standaloneAdvantages.titleEnjoyingDemo;
|
||||||
|
|
|
@ -63,4 +63,8 @@ function bootApp() {
|
||||||
app.boot();
|
app.boot();
|
||||||
}
|
}
|
||||||
|
|
||||||
bootApp();
|
if (G_IS_STANDALONE) {
|
||||||
|
window.addEventListener("load", bootApp);
|
||||||
|
} else {
|
||||||
|
bootApp();
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue