mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 11:44:53 +01:00
Create lobby even if the run callbacks function is never run.
This commit is contained in:
parent
c4e0c855df
commit
794469c4cf
4 changed files with 16 additions and 10 deletions
|
|
@ -462,6 +462,7 @@ CSteamID GetFriendFromSourceByIndex( CSteamID steamIDSource, int iFriend )
|
|||
bool IsUserInSource( CSteamID steamIDUser, CSteamID steamIDSource )
|
||||
{
|
||||
PRINT_DEBUG("Steam_Friends::IsUserInSource %llu %llu\n", steamIDUser.ConvertToUint64(), steamIDSource.ConvertToUint64());
|
||||
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
||||
if (steamIDUser == settings->get_local_steam_id()) {
|
||||
if (settings->get_lobby() == steamIDSource) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue