mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-27 04:21:42 +00:00
Fix stupid bug lol
This commit is contained in:
parent
6757a3abb7
commit
36f0d1fcb7
1 changed files with 3 additions and 1 deletions
|
|
@ -513,7 +513,9 @@ bool mod_file_exists(const char* filename) {
|
|||
|
||||
for (s32 i = 0; i < gLuaActiveMod->fileCount; i++) {
|
||||
struct ModFile* file = &gLuaActiveMod->files[i];
|
||||
return !strcmp(file->relativePath, filename);
|
||||
if (!strcmp(file->relativePath, filename)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue