spawn the background thread for gameservers as well

This commit is contained in:
otavepto 2024-06-01 14:23:33 +03:00
parent 86eb8aa2d0
commit 545bbd17da

View File

@ -310,6 +310,9 @@ HSteamUser Steam_Client::CreateLocalUser( HSteamPipe *phSteamPipe, EAccountType
//} else { //k_EAccountTypeGameServer
serverInit();
// gameservers don't call ConnectToGlobalUser(), instead they call this function
background_thread->start(this);
HSteamPipe pipe = CreateSteamPipe();
if (phSteamPipe) *phSteamPipe = pipe;
steam_pipes[pipe] = Steam_Pipe::SERVER;