1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-25 08:13:45 +00:00

allow shared lib to be used without needing to have a level selected

This commit is contained in:
MtH 2021-09-07 23:10:43 +02:00
parent d0800fcd39
commit ba4793cef4

View file

@ -25,12 +25,12 @@ class Paths
var levelPath = getLibraryPathForce(file, currentLevel);
if (OpenFlAssets.exists(levelPath, type))
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);
}