BEEmod / BEE2-items

Standard Items for the BEE2.4
132 stars 46 forks source link

Inverted SR Latch + Logic NOT doesn't init properly #4281

Open Andrei030x opened 1 year ago

Andrei030x commented 1 year ago

BEE2 Application Version

4.43.0 64bit

BEE2 Package Version

4.43.0

What operating system are you running on?

Windows 10 (64bit)

Description of the bug

"NOT" does not work correctly with "SR LATCH"

Expected behavior

The "NOT" output should be inactive

Steps to reproduce

"SR LATCH" should be initially enabled "SR LATCH" connect to "NOT" "NOT" connect to any object 20230113150940_1 20230113151109_1

Logs and Reports

No response

Additional information

if you switch "SR LATCH" using the buttons, the error will disappear

Andrei030x commented 1 year ago

And one more scheme: Here "SR LATCH" pushes the button and is not directly related to "NOT" 20230114212313_1 20230114212423_1

TeamSpen210 commented 1 year ago

Looks like this is an issue with the initialisation at the start of the map. It's tricky since all items start inactive, we need to have them turn on just after spawn, which can cause synchronisation issues. Though in this case the NOT is pointless, just swap around the set/reset inputs and toggle the start enabled option in the latch.