From c4fb9b642b7c5281c008cb25f82a9332a95eb775 Mon Sep 17 00:00:00 2001 From: DoKM Date: Tue, 3 Aug 2021 21:10:22 +0200 Subject: Revert "Fix chroma speed being chroma duration instead" This reverts commit 3ccbd6bb51f781d8c18d0389e5d8e79391b7c56c. --- .../moulberry/notenoughupdates/options/seperateSections/Misc.java | 2 +- src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java index c9ee8c9b..6a083cae 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java @@ -66,7 +66,7 @@ public class Misc { maxValue = 500, minStep = 10 ) - public int chromaSpeed2 = 400; + public int chromaSpeed = 100; @Expose @ConfigOption( diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java b/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java index fc8e2fa3..a4af51ca 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java @@ -234,7 +234,7 @@ public class Utils { long currentTimeMillis = System.currentTimeMillis(); if(startTime == 0) startTime = currentTimeMillis; - int chromaSpeed = 510 - NotEnoughUpdates.INSTANCE.config.misc.chromaSpeed2; + int chromaSpeed = NotEnoughUpdates.INSTANCE.config.misc.chromaSpeed; if(chromaSpeed < 10) chromaSpeed = 10; if(chromaSpeed > 5000) chromaSpeed = 5000; -- cgit