attempt to fix ghost player issue

This commit is contained in:
Lion Kortlepel authored and Anonymous275 committed 2021-03-18 23:44:14 +02:00
1 parent 13f8be5d39
commit e04a569e33
8 files changed
+37 -5

No files matched your search

+2 -1
View File
@@ -93,7 +93,8 @@ void TServer::GlobalParser(std::weak_ptr<TClient> Client, std::string Packet, TP
return;
case 'p':
TCPServer.Respond(*LockedClient, ("p"), false);
TCPServer.UpdatePlayers();
TCPServer.UpdatePlayer(*LockedClient);
LockedClient->UpdatePingTime();
return;
case 'O':
if (Packet.length() > 1000) {