Update flipflop.js
This commit is contained in:
parent
c8ea492073
commit
132dfa2a2e
|
|
@ -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.4) {
|
||||
if (Input.charge > 0.7) {
|
||||
if (pixel.powerstate == "true") {
|
||||
Input.charge = 0
|
||||
pixel.powerstate = "false"
|
||||
|
|
|
|||
Loading…
Reference in New Issue