mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:00:06 +00:00
Wait for an initial offset prior to proceeding with initialization
This commit is contained in:
parent
88d968a533
commit
c76c9b57ed
3 changed files with 49 additions and 3 deletions
|
|
@ -17,6 +17,7 @@ void Initialize()
|
|||
ntpClient_ = network::NtpClient::Instance();
|
||||
|
||||
ntpClient_->Start();
|
||||
ntpClient_->WaitForInitialOffset();
|
||||
}
|
||||
|
||||
void Shutdown()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue