diff --git a/EduNetworkBuilder/NBSettings.cs b/EduNetworkBuilder/NBSettings.cs index e0bf70b..b8afe0b 100644 --- a/EduNetworkBuilder/NBSettings.cs +++ b/EduNetworkBuilder/NBSettings.cs @@ -169,6 +169,14 @@ namespace EduNetworkBuilder UserActions.HasUnsavedChanges = false; //we have just loaded a clean thing. Nothing to save } + public bool HasReplay(string networkname) + { + if (UserActions == null) return false; + NetworkAction NA = UserActions.FindAction(networkname); + if (NA == null) return false; + return true; + } + public bool CheckIfDone(string PuzzleName) { //we just mark it in the settings class