Mark freshly-loaded ReplayActions as not being dirty

This commit is contained in:
Tim Young 2018-05-16 14:18:07 -05:00
parent c199065efd
commit 408022714d

View File

@ -162,10 +162,11 @@ namespace EduNetworkBuilder
{
ReplayMode = true;
UserActions = NB.ReadFromXmlResource<ActionCollection>("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)