mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-06-17 22:23:03 +00:00
possible hotfix for crashes
This commit is contained in:
+1
-1
@@ -345,7 +345,7 @@ bool TNetwork::TCPSend(TClient& c, const std::string& Data, bool IsSync) {
|
|||||||
while (c.MissedPacketQueueSize() > 0) {
|
while (c.MissedPacketQueueSize() > 0) {
|
||||||
std::string QData = c.MissedPacketQueue().front();
|
std::string QData = c.MissedPacketQueue().front();
|
||||||
c.MissedPacketQueue().pop();
|
c.MissedPacketQueue().pop();
|
||||||
debug("sending a missed packet: " + QData);
|
// debug("sending a missed packet: " + QData);
|
||||||
TCPSend(c, QData, true);
|
TCPSend(c, QData, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user