mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-07 08:01:16 +00:00
Add single-lua-file mods to mod cache
This commit is contained in:
parent
de9e5f8550
commit
0e7bbd2da6
1 changed files with 4 additions and 6 deletions
|
@ -517,12 +517,10 @@ bool mod_load(struct Mods* mods, char* basePath, char* modName) {
|
|||
|
||||
// print
|
||||
LOG_INFO(" %s", mod->name);
|
||||
if (isDirectory) {
|
||||
for (int i = 0; i < mod->fileCount; i++) {
|
||||
struct ModFile* file = &mod->files[i];
|
||||
mod_cache_add(mod, file, true);
|
||||
LOG_INFO(" - %s", file->relativePath);
|
||||
}
|
||||
for (int i = 0; i < mod->fileCount; i++) {
|
||||
struct ModFile* file = &mod->files[i];
|
||||
mod_cache_add(mod, file, true);
|
||||
LOG_INFO(" - %s", file->relativePath);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue