From d1a9147c4216924fc6aca6dd55d69ab5e6a8892c Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Fri, 7 May 2021 10:13:56 +0200 Subject: [PATCH] Assign clock to a button state in addComponents.kt --- .../main/kotlin/fr/username404/snowygui/misc/addComponents.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt b/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt index c88f255..18115fb 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt @@ -30,7 +30,7 @@ object Storage { 1400.0 } else oldGamma } - }, "Clock" to { clock = !clock }, + }, "Clock" to { clock = toggled }, ), ) if (riskyCheats) {