LuaGenericOnOffControlBehavior::circuit_condition seems incorrect

Place to report issues and suggest improvements to the API documentation.
User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 468
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

LuaGenericOnOffControlBehavior::circuit_condition seems incorrect

Post by Stringweasel »

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.
Alt-F4 Author | Factorio Modder
Probably known for: (Configurable) Valves | Better Victory Screen | Space Spidertron | Fluidic Power
Official Contributor to Space Exploration
Post Reply

Return to “Documentation Improvement Requests”