Fix crash with mod folders that don't have actors

This commit is contained in:
MysterD 2022-03-16 09:36:14 -07:00
parent fee9bfebfa
commit 7acfede111

View file

@ -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