From 5f2817b11ead0accec66727d09d981741777b482 Mon Sep 17 00:00:00 2001 From: NoMathExpectation <85624722+NoMathExpectation@users.noreply.github.com> Date: Sun, 8 Mar 2026 14:07:56 +0800 Subject: [PATCH] Changed max volume in SetCountingSoundEvent to 200. --- .../kotlin/cn/rdlevel/rdkt/core/events/SetCountingSoundEvent.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/SetCountingSoundEvent.kt b/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/SetCountingSoundEvent.kt index 63f4f3d..5bc883b 100644 --- a/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/SetCountingSoundEvent.kt +++ b/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/SetCountingSoundEvent.kt @@ -56,7 +56,7 @@ public class SetCountingSoundEvent private constructor( */ public var volume: Int = 100 set(value) { - require(value in 0..100) { "Volume must be between 0 and 100." } + require(value in 0..200) { "Volume must be between 0 and 200." } field = value }