Fix saving

This commit is contained in:
John Gross
2019-08-22 15:46:40 -07:00
parent 28037e11df
commit 1b4c5ace61

View File

@@ -62,12 +62,11 @@ namespace Torch.Patches
if (!Game.IsDedicated)
TakeSaveScreenshot();
tmpSnapshot.SaveParallel(() =>
tmpSnapshot.SaveParallel(() => true, () =>
{
if (!Game.IsDedicated && MySession.Static != null)
ShowWorldSaveResult(tmpSnapshot.SavingSuccess);
saveTaskSource.TrySetResult(tmpSnapshot.SavingSuccess ? GameSaveResult.Success : GameSaveResult.FailedToSaveToDisk);
return false;
});
});
return saveTaskSource.Task;