mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Ignore the room type of local servers
This fixes an infinite loop where the local server is filtered out of the server list when "joining" a local match with files added.
This commit is contained in:
parent
aa42de92e1
commit
7c91cd56be
1 changed files with 3 additions and 3 deletions
|
|
@ -1609,8 +1609,8 @@ static boolean SL_InsertServer(serverinfo_pak* info, SINT8 node)
|
||||||
if (strcmp(info->application, SRB2APPLICATION))
|
if (strcmp(info->application, SRB2APPLICATION))
|
||||||
return false;/* that's a different mod */
|
return false;/* that's a different mod */
|
||||||
|
|
||||||
if (info->modifiedgame != (mpmenu.room == 1))
|
if (!server && info->modifiedgame != (mpmenu.room == 1))
|
||||||
return false;/* CORE vs MODDED! */
|
return false;/* CORE vs MODDED! Unless we ARE the server (i.e. local play), then it's fine to not match. */
|
||||||
|
|
||||||
i = serverlistcount++;
|
i = serverlistcount++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue