logger.error("Failed to initialize savegames:",err);
logger.error("Failed to initialize savegames:",err);
returnnewPromise(resolve=>{
alert(
// const { ok } = this.dialogs.showWarning(
"Your savegames failed to load, it seems your data files got corrupted. I'm so sorry!\n\n(This can happen if your pc crashed while a game was saved).\n\nYou can try re-importing your savegames."
// T.preload.savegame_corrupt_dialog.title,
);
// T.preload.savegame_corrupt_dialog.content,
returnthis.app.savegameMgr.writeAsync();
// ["ok:good"]
// );
// ok.add(resolve);
alert("Your savegames failed to load. They might not show up. Sorry!");