diff --git a/src/data/projInfo.json b/src/data/projInfo.json index 62b417c..69ff3eb 100644 --- a/src/data/projInfo.json +++ b/src/data/projInfo.json @@ -1,7 +1,7 @@ { "title": "Profectus", - "id": "profectus", - "author": "thepaperpilot", + "id": "", + "author": "", "discordName": "The Paper Pilot Community", "discordLink": "https://discord.gg/WzejVAx", diff --git a/src/main.ts b/src/main.ts index 78b328b..1cfc70e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -8,6 +8,10 @@ import { Transient } from "./game/state"; import Decimal, { DecimalSource } from "./lib/break_eternity"; import { load } from "./util/save"; +if (projInfo.id === "") { + throw "Project ID is empty! Please select a unique ID for this project in /src/data/projInfo.json"; +} + declare global { interface Window { vue: VueApp;