1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-09 16:21:51 +00:00

Fix main menu not waiting for savegame import

Does not fix the savegame list bugs. Note that savegame index
serialization happens a few times for some reason, this is out of scope
for this commit though.
This commit is contained in:
Даниїл Григор'єв 2025-06-10 16:45:21 +03:00
parent 45e99d47b8
commit 3c331b8214
No known key found for this signature in database
GPG Key ID: B890DF16341D8C1D

View File

@ -146,7 +146,7 @@ export class MainMenuState extends GameState {
return;
}
this.app.savegameMgr.importSavegame(data);
await this.app.savegameMgr.importSavegame(data);
closeLoader();
this.dialogs.showWarning(
T.dialogs.importSavegameSuccess.title,