mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-26 22:10:06 +00:00
possible hotfix for crashes
This commit is contained in:
1 parent
c7cf0a733e
commit
704e25636d
1 file changed
+1
-1
+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