mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-04-21 21:04:48 +00:00
allow shared lib to be used without needing to have a level selected
This commit is contained in:
parent
d0800fcd39
commit
ba4793cef4
|
@ -25,12 +25,12 @@ class Paths
|
||||||
var levelPath = getLibraryPathForce(file, currentLevel);
|
var levelPath = getLibraryPathForce(file, currentLevel);
|
||||||
if (OpenFlAssets.exists(levelPath, type))
|
if (OpenFlAssets.exists(levelPath, type))
|
||||||
return levelPath;
|
return levelPath;
|
||||||
|
|
||||||
levelPath = getLibraryPathForce(file, "shared");
|
|
||||||
if (OpenFlAssets.exists(levelPath, type))
|
|
||||||
return levelPath;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var levelPath = getLibraryPathForce(file, "shared");
|
||||||
|
if (OpenFlAssets.exists(levelPath, type))
|
||||||
|
return levelPath;
|
||||||
|
|
||||||
return getPreloadPath(file);
|
return getPreloadPath(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue