mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 11:44:53 +01:00
More accurate behavior.
This commit is contained in:
parent
7938d1f5c9
commit
c20944ca0a
3 changed files with 43 additions and 9 deletions
|
|
@ -162,6 +162,7 @@ bool Steam_GameServer::BSecure()
|
|||
{
|
||||
PRINT_DEBUG("BSecure\n");
|
||||
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
||||
if (!policy_response_called) return false;
|
||||
return flags == eServerModeAuthenticationAndSecure;
|
||||
}
|
||||
|
||||
|
|
@ -169,6 +170,7 @@ CSteamID Steam_GameServer::GetSteamID()
|
|||
{
|
||||
PRINT_DEBUG("Steam_GameServer::GetSteamID\n");
|
||||
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
||||
if (!logged_in) return k_steamIDNil;
|
||||
return settings->get_local_steam_id();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue