From 408022714d7d3666c61f92440aa8eac568d6e067 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Wed, 16 May 2018 14:18:07 -0500 Subject: [PATCH] Mark freshly-loaded ReplayActions as not being dirty --- EduNetworkBuilder/NBSettings.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EduNetworkBuilder/NBSettings.cs b/EduNetworkBuilder/NBSettings.cs index b3aae08..e0bf70b 100644 --- a/EduNetworkBuilder/NBSettings.cs +++ b/EduNetworkBuilder/NBSettings.cs @@ -162,10 +162,11 @@ namespace EduNetworkBuilder { ReplayMode = true; UserActions = NB.ReadFromXmlResource("EduNetworkReplay"); - foreach(NetworkAction NetAction in UserActions.NetActions) + foreach (NetworkAction NetAction in UserActions.NetActions) { NetAction.HasBeenStored = true; //All of them start out stored } + UserActions.HasUnsavedChanges = false; //we have just loaded a clean thing. Nothing to save } public bool CheckIfDone(string PuzzleName)