Update flipflop.js
This commit is contained in:
parent
a81c89c2d2
commit
03e5678682
|
|
@ -14,7 +14,7 @@ elements.flipflop = {
|
|||
let Output = pixelMap[pixel.x+1][pixel.y]
|
||||
let Input = pixelMap[pixel.x-1][pixel.y]
|
||||
|
||||
if (Output.x != undefined && Input.x != undefined)){
|
||||
if (Output.x != undefined && Input.x != undefined){
|
||||
Output.charge = 0
|
||||
if (Powerstate == "true" && Input.charge > 0.9) {
|
||||
Powerstate == "false"
|
||||
|
|
|
|||
Loading…
Reference in New Issue