mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-26 14:03:01 +00:00
whoops
This commit is contained in:
parent
d3f76b7351
commit
2d9fd2ad18
1 changed files with 5 additions and 2 deletions
|
@ -52,8 +52,11 @@ void network_send_mod_list(void) {
|
||||||
u16 nameLength = strlen(mod->name);
|
u16 nameLength = strlen(mod->name);
|
||||||
if (nameLength > 31) { nameLength = 31; }
|
if (nameLength > 31) { nameLength = 31; }
|
||||||
|
|
||||||
u16 incompatibleLength = strlen(mod->incompatible);
|
u16 incompatibleLength = 0;
|
||||||
|
if (mod->incompatible) {
|
||||||
|
incompatibleLength = strlen(mod->incompatible);
|
||||||
if (incompatibleLength > 31) { incompatibleLength = 31; }
|
if (incompatibleLength > 31) { incompatibleLength = 31; }
|
||||||
|
}
|
||||||
|
|
||||||
u16 relativePathLength = strlen(mod->relativePath);
|
u16 relativePathLength = strlen(mod->relativePath);
|
||||||
u64 modSize = mod->size;
|
u64 modSize = mod->size;
|
||||||
|
|
Loading…
Reference in a new issue