mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-01-09 06:22:14 -05:00
remove the library strip
This commit is contained in:
parent
9a78060329
commit
4997bc27fd
1 changed files with 3 additions and 1 deletions
|
@ -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