There was an error while loading. Please reload this page.
1 parent 5f36e30 commit df6d643Copy full SHA for df6d643
1 file changed
ccloader/js/filemanager.js
@@ -153,12 +153,12 @@ export class Filemanager {
153
folder = 'assets/mods/';
154
155
if(isLocal) {
156
- return this._getResoucesInLocalFolder(folder, ending);
+ return this._getLocalFolders(folder);
157
} else {
158
var results = [];
159
for(var i in this.modList){
160
- if(this._resourceExists(folder + this.modList[i] + ending)){
161
- results.push(folder + this.modList[i] + ending);
+ if(this._resourceExists(folder + this.modList[i])){
+ results.push(folder + this.modList[i]);
162
}
163
164
return results;
0 commit comments