Merge pull request #6677 from 404-Name-Not-Found/master

Fix test rumble feature in controller configuration
This commit is contained in:
Anthony 2018-05-11 12:51:52 -07:00 committed by GitHub
commit f0c5b76186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,8 @@ ControlState InputReference::State(const ControlState ignore)
//
ControlState OutputReference::State(const ControlState state)
{
if (m_parsed_expression && InputGateOn())
m_parsed_expression->SetValue(state);
if (m_parsed_expression)
m_parsed_expression->SetValue(state * range);
return 0.0;
}