Merge branch 'main' into translations-system

This commit is contained in:
NeeEoo
2024-04-12 12:40:09 +02:00
11 changed files with 37 additions and 26 deletions
@@ -83,8 +83,7 @@ class AssetsLibraryList extends AssetLibrary {
if (l is IModsAssetLibrary) {
var lib = cast(l, IModsAssetLibrary);
for(e in lib.getFolders(folder))
if(!content.contains(e))
content.push(e);
content.pushOnce(e);
}
#end
}
@@ -134,8 +134,7 @@ class ZipFolderLibrary extends AssetLibrary implements IModsAssetLibrary {
var fileName = k.substr(_parsedAsset.length);
if (fileName.contains("/")) {
var s = fileName.split("/")[0];
if (!content.contains(s))
content.push(s);
content.pushOnce(s);
}
}
}