mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-29 02:04:28 +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,11 +25,11 @@ class Paths
|
|||
var levelPath = getLibraryPathForce(file, currentLevel);
|
||||
if (OpenFlAssets.exists(levelPath, type))
|
||||
return levelPath;
|
||||
}
|
||||
|
||||
levelPath = getLibraryPathForce(file, "shared");
|
||||
var levelPath = getLibraryPathForce(file, "shared");
|
||||
if (OpenFlAssets.exists(levelPath, type))
|
||||
return levelPath;
|
||||
}
|
||||
|
||||
return getPreloadPath(file);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue