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
@@ -3,6 +3,22 @@ let ShopPurchasePending = false;
|
||||
|
||||
|
||||
async function StartShop() {
|
||||
try {
|
||||
await LoadGameContent();
|
||||
} catch (Error) {
|
||||
console.error(
|
||||
"Couldn't load Shop content:",
|
||||
Error
|
||||
);
|
||||
|
||||
SetShopMessage(
|
||||
"Couldn't load plant or mutation data."
|
||||
);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
ShopSave = await LoadGame();
|
||||
|
||||
RenderShop();
|
||||
|
||||
Reference in new issue
Block a user