1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-06-30 15:47:05 +00:00

Merge branch 'develop' into bugfix/charteditor-liveinput-number-6

This commit is contained in:
Eric 2024-09-16 18:40:12 -04:00 committed by GitHub
commit 99f4d13e47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -543,7 +543,7 @@ class FunkinSound extends FlxSound implements ICloneable<FunkinSound>
*/
public static function playOnce(key:String, volume:Float = 1.0, ?onComplete:Void->Void, ?onLoad:Void->Void):Null<FunkinSound>
{
var result = FunkinSound.load(key, volume, false, true, true, onComplete, onLoad);
var result:Null<FunkinSound> = FunkinSound.load(key, volume, false, true, true, onComplete, onLoad);
return result;
}