mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-26 12:01:43 +00:00
Fix crash with mod folders that don't have actors
This commit is contained in:
parent
fee9bfebfa
commit
7acfede111
1 changed files with 1 additions and 2 deletions
|
|
@ -167,8 +167,7 @@ static bool mod_load_files(struct Mod* mod, char* modName, char* fullPath) {
|
|||
struct dirent* dir = NULL;
|
||||
DIR* d = opendir(actorsPath);
|
||||
if (!d) {
|
||||
LOG_ERROR("Could not open directory '%s'", actorsPath);
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
// iterate mod directory
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue