[1.1.105] Mods can set special signals (undefined behavior)
Posted: Fri Mar 22, 2024 4:08 pm
My mod is able to set special signals (anything, each, everything) on Inserter Control Behavior settings—even though those signals are not provided in the UI.
Typically, I expect a lua exception to be generated.
This is the offending code:
Where `updateSignal` returns one of the special signals.
See the image below:
Typically, I expect a lua exception to be generated.
This is the offending code:
Code: Select all
cb.circuit_stack_control_signal = updateSignal(cb.circuit_stack_control_signal or {}, settings)
See the image below: