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:
parent
24bdf2db64
commit
42192dfe97
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue