mirror of
https://github.com/rehlds/reunion.git
synced 2025-01-27 12:27:56 +03:00
Disable caching of g_ISteamGameServer, listen server may reassign instance after each map change
This commit is contained in:
parent
2370bdaff2
commit
38eeb46f39
@ -256,11 +256,9 @@ void SV_ConnectClient_hook(IRehldsHook_SV_ConnectClient* chain) {
|
||||
}
|
||||
#endif
|
||||
|
||||
g_ISteamGameServer = g_RehldsApi->GetServerData()->GetSteamGameServer();
|
||||
|
||||
client_auth_context_t ctx;
|
||||
|
||||
if (!g_ISteamGameServer)
|
||||
g_ISteamGameServer = g_RehldsApi->GetServerData()->GetSteamGameServer();
|
||||
|
||||
g_CurrentAuthContext = &ctx;
|
||||
chain->callNext();
|
||||
g_CurrentAuthContext = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user