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
|
|
@ -1115,8 +1115,7 @@ bool SetLinkedLobby( CSteamID steamIDLobby, CSteamID steamIDLobbyDependent )
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
void RunCallbacks()
|
||||
void RunBackground()
|
||||
{
|
||||
remove_lobbies();
|
||||
Create_pending_lobbies();
|
||||
|
|
@ -1125,6 +1124,11 @@ void RunCallbacks()
|
|||
send_lobby_data();
|
||||
last_sent_lobbies = std::chrono::high_resolution_clock::now();
|
||||
}
|
||||
}
|
||||
|
||||
void RunCallbacks()
|
||||
{
|
||||
RunBackground();
|
||||
|
||||
if (searching) {
|
||||
PRINT_DEBUG("Searching for lobbies %zu\n", lobbies.size());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue