mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Hopefully this fixes the SteamAPI_ISteamGameServer_GetPublicIP function
This commit is contained in:
parent
c48526d49a
commit
19015c097c
6 changed files with 19 additions and 5 deletions
|
|
@ -559,6 +559,12 @@ SteamIPAddress_t Steam_GameServer::GetPublicIP()
|
|||
return ip;
|
||||
}
|
||||
|
||||
void Steam_GameServer::GetPublicIP_fix(SteamIPAddress_t *out)
|
||||
{
|
||||
PRINT_DEBUG("GetPublicIP_fix\n");
|
||||
if (out) *out = GetPublicIP();
|
||||
}
|
||||
|
||||
// These are in GameSocketShare mode, where instead of ISteamGameServer creating its own
|
||||
// socket to talk to the master server on, it lets the game use its socket to forward messages
|
||||
// back and forth. This prevents us from requiring server ops to open up yet another port
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue