fix funkinsound compile error

This commit is contained in:
FabsTheFabs 2024-05-31 10:39:06 +01:00
parent 40d1fd96a3
commit 1e65cacb0e

View file

@ -359,7 +359,7 @@ class FunkinSound extends FlxSound implements ICloneable<FunkinSound>
if (shouldLoadPartial) if (shouldLoadPartial)
{ {
var music = FunkinSound.loadPartial(pathToUse, params.partialParams?.start ?? 0, params.partialParams?.end ?? 1, params?.startingVolume ?? 1.0, var music = FunkinSound.loadPartial(pathToUse, params.partialParams?.start ?? 0.0, params.partialParams?.end ?? 1.0, params?.startingVolume ?? 1.0,
params.loop ?? true, false, false, params.onComplete); params.loop ?? true, false, false, params.onComplete);
if (music != null) if (music != null)