fix: apply gameId and placeId only after initial sync (#1104)

This commit is contained in:
wad 2025-08-16 04:12:36 +03:00 • committed by GitHub
parent 0056849b51
commit 4e9e6233ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -139,10 +139,9 @@ function ServeSession:start()
self.__apiContext
:connect()
:andThen(function(serverInfo)
self:__applyGameAndPlaceId(serverInfo)
return self:__initialSync(serverInfo):andThen(function()
self:__setStatus(Status.Connected, serverInfo.projectName)
self:__applyGameAndPlaceId(serverInfo)
return self:__mainSyncLoop()
end)