From 6266c8a4b2485b29a7d5bcb217460d7aad3e1c4a Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Sun, 25 Aug 2019 20:58:10 -0400 Subject: [PATCH] Proto version slider. --- SwitchNode.java | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/SwitchNode.java b/SwitchNode.java index 96c3568..7189ebc 100644 --- a/SwitchNode.java +++ b/SwitchNode.java @@ -41,7 +41,7 @@ switchobject.count = 1; // hide } - transient boolean restarted; + //transient boolean restarted; transient int countspeed; transient boolean toggleneutral; @@ -59,7 +59,7 @@ } if (live && Globals.isLIVE() && display.DrawMode() == display.SHADOW) { - if (countspeed == 0) + if (countspeed <= 0) { countspeed = speed; @@ -92,7 +92,12 @@ } else - countspeed--; + { + if (CameraPane.FAST) + countspeed -= CameraPane.STEP; + else + countspeed--; + } } if (bRep == null) -- Gitblit v1.6.2