From 46fc9ea1ba2b5c08ab091128604988e958e0514b Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 3 Mar 2022 21:41:26 -0600 Subject: [PATCH] Set document title slightly sooner --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 1cfc70e..9342b84 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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(); });