No ChangeRoute action after 15 s being idle, ver. 3.1.1641

This commit is contained in:
Milan Hanajik 2021-03-17 13:19:35 +01:00
parent 068c51157e
commit 48484e1dbb
2 changed files with 3 additions and 3 deletions

View File

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("3.1.1640.0")]
[assembly: AssemblyFileVersion("3.1.1640.0")]
[assembly: AssemblyVersion("3.1.1641.0")]
[assembly: AssemblyFileVersion("3.1.1641.0")]

View File

@ -375,7 +375,7 @@ namespace TBF.Rig.ControlBoard.Uni
}
}
if (!outputsInitialized || RRoute != benchModelRoute || (StateMachine.Time - lastStateMachineTime) >= 15)
if (!outputsInitialized || RRoute != benchModelRoute) /// || (StateMachine.Time - lastStateMachineTime) >= 15)
{
var actionsToModify = actionQueue.Where(x => (x.ActionId == ActionID.ChangeRoute));
bool oneModified = false;