Off-by-one spotted by Clement.
This commit is contained in:
parent
915626afa7
commit
0422ea5672
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ void Transponder::update(double dt)
|
|||
}
|
||||
}
|
||||
|
||||
if (_knob > KNOB_ON) {
|
||||
if (_knob >= KNOB_ON) {
|
||||
_transmittedId_node->setIntValue(_idCode_node->getIntValue());
|
||||
} else {
|
||||
_transmittedId_node->setIntValue(INVALID_ID);
|
||||
|
|
Loading…
Reference in a new issue