mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-11 09:11:50 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.app.savegameMgr.importSavegame(data);
|
await this.app.savegameMgr.importSavegame(data);
|
||||||
closeLoader();
|
closeLoader();
|
||||||
this.dialogs.showWarning(
|
this.dialogs.showWarning(
|
||||||
T.dialogs.importSavegameSuccess.title,
|
T.dialogs.importSavegameSuccess.title,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user