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:
parent
45e99d47b8
commit
3c331b8214
@ -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…
Reference in New Issue
Block a user