Skip to content

Commit

Permalink
Added uncommited changes from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
2767mr committed Mar 23, 2020
1 parent 5f36e30 commit df6d643
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ccloader/js/filemanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,12 @@ export class Filemanager {
folder = 'assets/mods/';

if(isLocal) {
return this._getResoucesInLocalFolder(folder, ending);
return this._getLocalFolders(folder);
} else {
var results = [];
for(var i in this.modList){
if(this._resourceExists(folder + this.modList[i] + ending)){
results.push(folder + this.modList[i] + ending);
if(this._resourceExists(folder + this.modList[i])){
results.push(folder + this.modList[i]);
}
}
return results;
Expand Down

0 comments on commit df6d643

Please sign in to comment.