From 9b66bc186ad1142d1c622c02c7f6396bf1338831 Mon Sep 17 00:00:00 2001 From: EliteMasterEric <ericmyllyoja@gmail.com> Date: Tue, 1 Aug 2023 15:25:46 -0400 Subject: [PATCH 1/2] alphabetical -> alphabetically --- source/funkin/modding/module/ModuleHandler.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/modding/module/ModuleHandler.hx b/source/funkin/modding/module/ModuleHandler.hx index 28866c3f5..5a1c4dd6a 100644 --- a/source/funkin/modding/module/ModuleHandler.hx +++ b/source/funkin/modding/module/ModuleHandler.hx @@ -77,7 +77,7 @@ class ModuleHandler } else { - return SortUtil.alphabetical(a, b); + return SortUtil.alphabetically(a, b); } }); } From 639a36a9c77c93b5cc40cde88e23b3664ea280b0 Mon Sep 17 00:00:00 2001 From: EliteMasterEric <ericmyllyoja@gmail.com> Date: Tue, 1 Aug 2023 15:29:17 -0400 Subject: [PATCH 2/2] Fix some weird issues with constants --- source/funkin/util/Constants.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/funkin/util/Constants.hx b/source/funkin/util/Constants.hx index 2d38059db..c06911e4e 100644 --- a/source/funkin/util/Constants.hx +++ b/source/funkin/util/Constants.hx @@ -160,17 +160,17 @@ class Constants /** * The maximum interval within which a note can be hit, in milliseconds. */ - public static final HIT_WINDOW_MS:Float = 160; + public static final HIT_WINDOW_MS:Float = 160.0; /** * Constant for the number of seconds in a minute. */ - public static final SECS_PER_MIN:Float = 60; + public static final SECS_PER_MIN:Int = 60; /** * Constant for the number of milliseconds in a second. */ - public static final MS_PER_SEC:Float = 1000; + public static final MS_PER_SEC:Int = 1000; /** * The number of microseconds in a millisecond.