From 52133d796974b3c0b6f0f47f7d9e314e07c945a5 Mon Sep 17 00:00:00 2001 From: lunarcleint <88809950+lunarcleint@users.noreply.github.com> Date: Wed, 20 Mar 2024 05:49:51 -0700 Subject: [PATCH] WAIT!!!! --- source/funkin/editors/charter/CharterWaveformHandler.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/editors/charter/CharterWaveformHandler.hx b/source/funkin/editors/charter/CharterWaveformHandler.hx index 346b856d..caacad78 100644 --- a/source/funkin/editors/charter/CharterWaveformHandler.hx +++ b/source/funkin/editors/charter/CharterWaveformHandler.hx @@ -10,7 +10,7 @@ class CharterWaveformHandler extends FlxBasic { public var ampsNeeded:Float = 0; public var ampSqrt(get, never):Int; public function get_ampSqrt():Int { - var sqrt:Float = Math.sqrt(ampsNeeded); + var sqrt:Float = Math.sqrt(Math.floor(ampsNeeded/3)); var ampRet:Int = Math.floor(sqrt); if (sqrt % 1 > 0) ampRet += 1; return ampRet;