Set document title slightly sooner
This commit is contained in:
parent
49474b1518
commit
46fc9ea1ba
1 changed files with 1 additions and 1 deletions
|
@ -8,6 +8,7 @@ import { Transient } from "./game/state";
|
||||||
import Decimal, { DecimalSource } from "./lib/break_eternity";
|
import Decimal, { DecimalSource } from "./lib/break_eternity";
|
||||||
import { load } from "./util/save";
|
import { load } from "./util/save";
|
||||||
|
|
||||||
|
document.title = projInfo.title;
|
||||||
if (projInfo.id === "") {
|
if (projInfo.id === "") {
|
||||||
throw "Project ID is empty! Please select a unique ID for this project in /src/data/projInfo.json";
|
throw "Project ID is empty! Please select a unique ID for this project in /src/data/projInfo.json";
|
||||||
}
|
}
|
||||||
|
@ -51,7 +52,6 @@ requestAnimationFrame(async () => {
|
||||||
}));
|
}));
|
||||||
globalBus.emit("setupVue", vue);
|
globalBus.emit("setupVue", vue);
|
||||||
vue.mount("#app");
|
vue.mount("#app");
|
||||||
document.title = projInfo.title;
|
|
||||||
|
|
||||||
startGameLoop();
|
startGameLoop();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue