mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Grab server name from connectedservername, instead of netbuffer->u.serverinfo.servername (fixes garbage server name)
Yeah it will be blank, but preparation for whenever the server's name is stored in that variable
This commit is contained in:
parent
f3c780d732
commit
b5e9de2e69
1 changed files with 1 additions and 1 deletions
|
|
@ -2095,7 +2095,7 @@ static void CL_ConnectToServer(void)
|
|||
// It works... sometimes but not always which is weird.
|
||||
|
||||
if (joinedIP[0]) // false if we have "" which is \0
|
||||
M_AddToJoinedIPs(joinedIP, netbuffer->u.serverinfo.servername);
|
||||
M_AddToJoinedIPs(joinedIP, connectedservername);
|
||||
|
||||
joinedIP[0] = '\0'; // And empty this for good measure regardless of whether or not we actually used it.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue