mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-07-01 22:25:19 +02:00
spawn the background thread for gameservers as well
This commit is contained in:
parent
86eb8aa2d0
commit
545bbd17da
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue