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.
LuaGenericOnOffControlBehavior::circuit_condition seems incorrect
- Stringweasel
- Filter Inserter
- Posts: 411
- Joined: Thu Apr 27, 2017 8:22 pm
- Contact:
LuaGenericOnOffControlBehavior::circuit_condition seems incorrect
Alt-F4 Author | Factorio Modder
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock |Weasel's Demolition Derby
Official Contributor to Space Exploration
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock |
Official Contributor to Space Exploration