Skip to content

Commit

Permalink
Keep the last replay cached no matter the file save options
Browse files Browse the repository at this point in the history
  • Loading branch information
NSGolova committed Sep 17, 2024
1 parent 1622adb commit a16bbe0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/7_Utils/ReplayManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ await Task.Run(() => {
CachedReplay = null;
if (!ValidatePlay(replay, playEndData)) {
Plugin.Log.Info("Validation failed, replay will not be saved!");
var tempheader = new GenericReplayHeader(this, "", replay);
CachedReplay = tempheader;
return null;
}

Expand Down

0 comments on commit a16bbe0

Please sign in to comment.