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;