Fix reporting bug when doing replay

This commit is contained in:
2018-10-08 11:52:53 -05:00
parent de5acab132
commit 2ca9ddce19
2 changed files with 15 additions and 3 deletions

View File

@ -2043,6 +2043,17 @@ namespace EduNetworkBuilder
LoadNetworkFromNetwork(theNet);
}
}
if(OurSettings.ReplayMode)
{
//clear out the replay actions for this network
ActionCollection AC = OurSettings.GetUserActionCollection();
if (AC != null)
{
NetworkAction NA = AC.GetCurrentNetAction();
if (NA != null)
NA.Actions.Clear();
}
}
UpdateMenu();
UpdateForm();
}