mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-02-09 01:04:07 -08: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:
parent
45e99d47b8
commit
3c331b8214
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue