From 82c897e70e8c82cf951e13c013a48d9f9f1845fb Mon Sep 17 00:00:00 2001 From: felixs-alt <114471609+felixs-alt@users.noreply.github.com> Date: Wed, 27 Sep 2023 08:06:19 +0200 Subject: [PATCH] Update flipflop.js --- mods/flipflop.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/flipflop.js b/mods/flipflop.js index d2cfde8e..53bfbfee 100644 --- a/mods/flipflop.js +++ b/mods/flipflop.js @@ -17,7 +17,6 @@ elements.flipflop = { if (typeof Output !== "undefined" && typeof Input !== "undefined"){ if (pixel.cooldown > 0){ pixel.cooldown-- - console.log(pixel.cooldown) } Output.charge = 0 if (pixel.powerstate == "true" && Input.charge > 0.2 && pixel.cooldown < 1) { @@ -27,7 +26,7 @@ elements.flipflop = { pixel.color = "#CF300D" Output.charge = 0 } else if (pixel.powerstate == "false" && Input.charge > 0.2 && pixel.cooldown < 1) { - Input.chare = 0 + Input.charge = 0 pixel.cooldown = 5 pixel.powerstate = "true" pixel.color = "#94CF0D"