mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Missed these from an old experiment
This commit is contained in:
parent
d1981b0a65
commit
27d28040a7
2 changed files with 2 additions and 2 deletions
|
|
@ -101,7 +101,7 @@ void DRPC_UpdatePresence(void)
|
||||||
discordPresence.partyId = "1"; // We don't really have "party" IDs, so to make invites expire we just let it reset to 0 outside of servers
|
discordPresence.partyId = "1"; // We don't really have "party" IDs, so to make invites expire we just let it reset to 0 outside of servers
|
||||||
|
|
||||||
// Grab the host's IP for joining.
|
// Grab the host's IP for joining.
|
||||||
if (I_GetNodeAddress && (address = I_GetNodeAddress(servernode, true)) != NULL)
|
if (I_GetNodeAddress && (address = I_GetNodeAddress(servernode)) != NULL)
|
||||||
{
|
{
|
||||||
discordPresence.joinSecret = address;
|
discordPresence.joinSecret = address;
|
||||||
CONS_Printf("%s\n", address);
|
CONS_Printf("%s\n", address);
|
||||||
|
|
|
||||||
|
|
@ -903,7 +903,7 @@ void SendAskInfoViaMS(INT32 node, tic_t asktime)
|
||||||
|
|
||||||
// This must be called after calling MSOpenUDPSocket, due to the
|
// This must be called after calling MSOpenUDPSocket, due to the
|
||||||
// static buffer.
|
// static buffer.
|
||||||
address = I_GetNodeAddress(node, false);
|
address = I_GetNodeAddress(node);
|
||||||
|
|
||||||
// no address?
|
// no address?
|
||||||
if (!address)
|
if (!address)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue