LuaGenericOnOffControlBehavior::circuit_condition seems incorrect
Posted: Fri Nov 01, 2024 4:10 pm
It seems that LuaGenericOnOffControlBehavior::circuit_condition has the type CircuitConditionDefinition where it should be CircuitCondition. The example is also wrong.
Reasons why I believe this:
- Tested in-game.
- CircuitConditionDefinition has a additional parameter `satisfied` which doesn't really make sense being there.
- There's a TODOC, so maybe it was never revisisted.
Reasons why I believe this:
- Tested in-game.
- CircuitConditionDefinition has a additional parameter `satisfied` which doesn't really make sense being there.
- There's a TODOC, so maybe it was never revisisted.