mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-23 20:38:07 +01:00
SteamGameServerClient should return NULL if the gameserver is not initialized.
This commit is contained in:
parent
bf4847452e
commit
35c59044fd
1 changed files with 1 additions and 1 deletions
|
@ -588,7 +588,7 @@ S_API uint64 SteamGameServer_GetSteamID()
|
||||||
S_API ISteamClient *SteamGameServerClient() {
|
S_API ISteamClient *SteamGameServerClient() {
|
||||||
PRINT_DEBUG("SteamGameServerClient()\n");
|
PRINT_DEBUG("SteamGameServerClient()\n");
|
||||||
load_old_interface_versions();
|
load_old_interface_versions();
|
||||||
get_steam_clientserver_old();
|
if (!get_steam_clientserver_old()->IsServerInit()) return NULL;
|
||||||
return (ISteamClient *)SteamInternal_CreateInterface(old_client);
|
return (ISteamClient *)SteamInternal_CreateInterface(old_client);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue