Ved-s / TerraLogic

Terraria mechanisms and logic simulator
4 stars 1 forks source link

Infinite looping logic gates #1

Closed Ghoose1 closed 2 years ago

Ghoose1 commented 2 years ago

When I have a logic gate wired as show in the image and activate the switch, it will crash the program unless the simulation is paused, in which case it will infinitely loop between turning itself off and on when the step button is used.

image

If this were to be made in-game, the gate would fire once then give smoke particles, as they can only change state once per frame, which isn't a thing in the simulation.

Ved-s commented 2 years ago

Won't be fixed soon - I have internet problems and can't push to GitHub, but I'll try to fix this again