Mark freshly-loaded ReplayActions as not being dirty
This commit is contained in:
parent
c199065efd
commit
408022714d
@ -162,10 +162,11 @@ namespace EduNetworkBuilder
|
|||||||
{
|
{
|
||||||
ReplayMode = true;
|
ReplayMode = true;
|
||||||
UserActions = NB.ReadFromXmlResource<ActionCollection>("EduNetworkReplay");
|
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
|
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)
|
public bool CheckIfDone(string PuzzleName)
|
||||||
|
Loading…
Reference in New Issue
Block a user