diff --git a/EduNetworkBuilder/NetworkBuilder.cs b/EduNetworkBuilder/NetworkBuilder.cs index 1f3c92b..345ce61 100644 --- a/EduNetworkBuilder/NetworkBuilder.cs +++ b/EduNetworkBuilder/NetworkBuilder.cs @@ -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)