Update flipflop.js
This commit is contained in:
parent
7608a825fa
commit
bc7b828c73
|
|
@ -14,7 +14,7 @@ elements.flipflop = {
|
|||
let Output = pixelMap[pixel.x+1][pixel.y]
|
||||
let Input = pixelMap[pixel.x-1][pixel.y]
|
||||
if (typeof Output !== "undefined" && typeof Input !== "undefined") {
|
||||
if (Input.charge > 0.7) {
|
||||
if (Input.charge > 0.45) {
|
||||
if (pixel.powerstate == "true") {
|
||||
pixel.powerstate = "false"
|
||||
pixel.color = "#CF300D"
|
||||
|
|
|
|||
Loading…
Reference in New Issue