1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-15 19:33:36 +00:00

remove the library strip

This commit is contained in:
Karim Akra 2024-06-09 12:47:17 +03:00 committed by Cameron Taylor
parent 24bdf2db64
commit 42192dfe97

View file

@ -491,8 +491,10 @@ class FunkinSound extends FlxSound implements ICloneable<FunkinSound>
var promise:lime.app.Promise<Null<FunkinSound>> = new lime.app.Promise<Null<FunkinSound>>(); var promise:lime.app.Promise<Null<FunkinSound>> = new lime.app.Promise<Null<FunkinSound>>();
// split the path and get only after first : // split the path and get only after first :
// we are bypassing the openfl/lime asset library fuss // we are bypassing the openfl/lime asset library fuss on web only
#if web
path = Paths.stripLibrary(path); path = Paths.stripLibrary(path);
#end
var soundRequest = FlxPartialSound.partialLoadFromFile(path, start, end); var soundRequest = FlxPartialSound.partialLoadFromFile(path, start, end);