Update flipflop.js
This commit is contained in:
parent
82c897e70e
commit
f42131ad3f
|
|
@ -17,8 +17,6 @@ elements.flipflop = {
|
|||
if (typeof Output !== "undefined" && typeof Input !== "undefined"){
|
||||
if (pixel.cooldown > 0){
|
||||
pixel.cooldown--
|
||||
}
|
||||
Output.charge = 0
|
||||
if (pixel.powerstate == "true" && Input.charge > 0.2 && pixel.cooldown < 1) {
|
||||
Input.charge = 0
|
||||
pixel.cooldown = 5
|
||||
|
|
|
|||
Loading…
Reference in New Issue