Set document title slightly sooner

This commit is contained in:
thepaperpilot 2022-03-03 21:41:26 -06:00
parent 49474b1518
commit 46fc9ea1ba

View file

@ -8,6 +8,7 @@ import { Transient } from "./game/state";
import Decimal, { DecimalSource } from "./lib/break_eternity";
import { load } from "./util/save";
document.title = projInfo.title;
if (projInfo.id === "") {
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);
vue.mount("#app");
document.title = projInfo.title;
startGameLoop();
});