Adding devices is part of Actions
This commit is contained in:
@ -1653,10 +1653,10 @@ namespace EduNetworkBuilder
|
||||
//We are doing a replay and enough time has passed from the last replay...
|
||||
NBSettings Settings = NB.GetSettings();
|
||||
ActionCollection AC = Settings.GetUserActionCollection();
|
||||
bool Success = AC.RunAction(NextReplayIndex++);
|
||||
ActionClass Success = AC.RunAction(NextReplayIndex++);
|
||||
|
||||
NextReplayAction = DateTime.UtcNow.AddMilliseconds(NB.MillisecondsBetweenReplays);
|
||||
if(Success)
|
||||
if(Success != null)
|
||||
{
|
||||
//we did something. keep replaying
|
||||
NB.MarkToUpdate();
|
||||
|
Reference in New Issue
Block a user