Fix callback being too fast.
parent
e297347c07
commit
50f379aa91
|
@ -778,8 +778,7 @@ bool SetLobbyData( CSteamID steamIDLobby, const char *pchKey, const char *pchVal
|
||||||
if (result->second == std::string(pchValue)) changed = false;
|
if (result->second == std::string(pchValue)) changed = false;
|
||||||
(*lobby->mutable_values())[result->first] = pchValue;
|
(*lobby->mutable_values())[result->first] = pchValue;
|
||||||
}
|
}
|
||||||
|
trigger_lobby_dataupdate(steamIDLobby, steamIDLobby, true, 0.01, changed);
|
||||||
trigger_lobby_dataupdate(steamIDLobby, steamIDLobby, true, 0.0, changed);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue