From eb834134ee87ec2fe29b3d8c65062436359872c4 Mon Sep 17 00:00:00 2001 From: yugecin Date: Sat, 1 Oct 2016 15:27:59 +0200 Subject: [PATCH] fix spinnerdelay --- src/yugecin/opsudance/spinners/Spinner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yugecin/opsudance/spinners/Spinner.java b/src/yugecin/opsudance/spinners/Spinner.java index 1be0e336..ace5aa3c 100644 --- a/src/yugecin/opsudance/spinners/Spinner.java +++ b/src/yugecin/opsudance/spinners/Spinner.java @@ -33,7 +33,7 @@ public abstract class Spinner { } public double[] getPoint() { - if (delay++ < DELAY) { + if (++delay > DELAY) { index = ++index % length; delay = 0; }