Make a "Has Replay" func so we can tell what has a replay and what does not
This commit is contained in:
parent
fac5d7ab26
commit
4b16ba8be0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user