You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To replicate the issue just build this setup and flip the switch on and off.
When the piston connects the wire to the diode in the same tick that the diode turns off light blocks in the circuit get set to on until the circuit is updated again. (Note: the Mese lines aren't powered though)
The text was updated successfully, but these errors were encountered:
As you can see, there's a 1-step pulse when the switch is turned off.
The issue doesn't happen when you place a diode gate between the lamp and the lamp signal.
My guess at what happens is that the wire is already off when the lightstones' action_on is called. So, when the wire goes off, the lightstone is still off and won't receive the event.
Maybe this could be fixed if we didn't differentiate between off and on effectors.
As you can see, there's a 1-step pulse when the switch is turned off.
Apparently 1-tick pulses were always problematic... see my note in #536 2.5 years ago: “<...> outputs a pulse 2 Mesecon ticks long. Sharper (1-tick) pulse is possible but while e.g. gates and movestones work well with that, lamps and pistons don’t”.
Those lights should not be powered.
To replicate the issue just build this setup and flip the switch on and off.
When the piston connects the wire to the diode in the same tick that the diode turns off light blocks in the circuit get set to on until the circuit is updated again. (Note: the Mese lines aren't powered though)
The text was updated successfully, but these errors were encountered: