Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Fixed steam API integration disobeying "Allow Internet Connectivity" …
Browse files Browse the repository at this point in the history
…setting
  • Loading branch information
PazerOP committed Jun 21, 2020
1 parent 71278ed commit f6744a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf2_bot_detector/WorldState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ auto WorldState::FindOrCreatePlayer(const SteamID& id) -> PlayerExtraData&

void WorldState::QueuePlayerSummaryUpdate()
{
if (m_Settings->m_SteamAPIKey.empty())
if (m_Settings->m_SteamAPIKey.empty() || m_Settings->m_AllowInternetUsage != true)
return;

std::vector<SteamID> steamIDs;
Expand Down

0 comments on commit f6744a4

Please sign in to comment.