StoreReplay

This commit is contained in:
Tim Young 2018-05-11 10:57:54 -05:00
parent 41a6fbe8b0
commit 048d461894

View File

@ -2845,9 +2845,22 @@ namespace EduNetworkBuilder
}
}
private void storeReplayToolStripMenuItem_Click(object sender, EventArgs e)
void StoreReplay()
{
NBSettings ourSettings = NB.GetSettings();
if (OurSettings != null && OurSettings.ReplayMode)
{
ActionCollection AC = OurSettings.GetUserActionCollection();
if(AC.CurrentNeedsStoring)
{
AC.PushActionToList();
}
}
}
private void storeReplayToolStripMenuItem_Click(object sender, EventArgs e)
{
StoreReplay();
}
private void saveReplayToolStripMenuItem_Click(object sender, EventArgs e)