mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-22 07:32:07 -05:00
Fix [CS] auto category
This commit is contained in:
parent
f163de224d
commit
29a8a76586
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ bool mod_load(struct Mods* mods, char* basePath, char* modName) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// set category
|
// set category
|
||||||
if ((mod->category == NULL) && (strlen(mod->name) > 5) && (strncmp(mod->name, "[CS] ", 5) == 0)) {
|
if (mod->category == NULL && strstr(mod->name, "[CS] ")) {
|
||||||
mod->category = strdup("cs");
|
mod->category = strdup("cs");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue