Queue on player list update

This commit is contained in:
Anonymous-275
2021-03-31 17:51:38 +03:00
parent 018246cea5
commit 6d8f75a577
3 changed files with 7 additions and 6 deletions

View File

@@ -576,7 +576,8 @@ void TNetwork::UpdatePlayer(TClient& Client) {
return true;
});
Packet = Packet.substr(0, Packet.length() - 1);
(void)Respond(Client, Packet, true);
Client.EnqueuePacket(Packet);
//(void)Respond(Client, Packet, true);
}
void TNetwork::OnDisconnect(const std::weak_ptr<TClient>& ClientPtr, bool kicked) {