mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-14 10:48:12 +02:00
BIG UPDATE: Plants and mutations moved to database. Fetchable with API.
This commit is contained in:
1 parent
5e6e376d8e
commit
dde47ff5a6
7 files changed
+272
-228
No files matched your search
@@ -8,6 +8,22 @@ const GardenUpdateInterval = 1000;
|
||||
|
||||
|
||||
async function StartGame() {
|
||||
try {
|
||||
await LoadGameContent();
|
||||
} catch (Error) {
|
||||
console.error(
|
||||
"Couldn't load Garden content:",
|
||||
Error
|
||||
);
|
||||
|
||||
SetGardenMessage(
|
||||
"Couldn't load plant or mutation data."
|
||||
);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
GameSave = await LoadGame();
|
||||
|
||||
BindGardenTools();
|
||||
|
||||
Reference in new issue
Block a user