mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 22:00:50 +00:00
Missed these from an old experiment
This commit is contained in:
parent
4e549532ee
commit
ff8c70f9fe
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…
Reference in a new issue