Fix build errors for MathUtil

This commit is contained in:
Hundrec
2025-06-28 01:11:18 -05:00
committed by Abnormal
parent 94eae116c7
commit 8b6b91cc23
2 changed files with 3 additions and 3 deletions
+1 -1
Submodule assets updated: c43d906d19...8c1fe16195
+2 -2
View File
@@ -72,8 +72,8 @@ class FunkinSoundTray extends FlxSoundTray
override public function update(ms:Float):Void
{
y = MathUtil.smoothLerpPrecision(y, lerpYPos, MS / 1000, 0.768);
alpha = MathUtil.smoothLerpPrecision(alpha, alphaTarget, MS / 1000, 0.307);
y = MathUtil.smoothLerpPrecision(y, lerpYPos, ms / 1000, 0.768);
alpha = MathUtil.smoothLerpPrecision(alpha, alphaTarget, ms / 1000, 0.307);
// If it has volume, we want to auto-hide after 1 second (1000ms), we simply decrement a timer
var hasVolume:Bool = (!FlxG.sound.muted && FlxG.sound.volume > 0);