Fix Zip Folder mods

This commit is contained in:
NeeEoo
2024-04-19 19:37:57 +02:00
parent 59164cbb1d
commit ecae996cc2
2 changed files with 33 additions and 17 deletions
@@ -89,7 +89,7 @@ class ModsFolderLibrary extends AssetLibrary implements IModsAssetLibrary {
return __getFiles(folder, false);
public function __getFiles(folder:String, folders:Bool = false) {
if (!folder.endsWith("/")) folder = folder + "/";
if (!folder.endsWith("/")) folder += "/";
if (!__parseAsset(folder)) return [];
var path = getAssetPath();
try {