mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-30 14:25:36 +08:00
spawn the background thread for gameservers as well
This commit is contained in:
parent
86eb8aa2d0
commit
545bbd17da
@ -310,6 +310,9 @@ HSteamUser Steam_Client::CreateLocalUser( HSteamPipe *phSteamPipe, EAccountType
|
|||||||
//} else { //k_EAccountTypeGameServer
|
//} else { //k_EAccountTypeGameServer
|
||||||
serverInit();
|
serverInit();
|
||||||
|
|
||||||
|
// gameservers don't call ConnectToGlobalUser(), instead they call this function
|
||||||
|
background_thread->start(this);
|
||||||
|
|
||||||
HSteamPipe pipe = CreateSteamPipe();
|
HSteamPipe pipe = CreateSteamPipe();
|
||||||
if (phSteamPipe) *phSteamPipe = pipe;
|
if (phSteamPipe) *phSteamPipe = pipe;
|
||||||
steam_pipes[pipe] = Steam_Pipe::SERVER;
|
steam_pipes[pipe] = Steam_Pipe::SERVER;
|
||||||
|
Loading…
Reference in New Issue
Block a user