mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 10:41:01 +00:00
Specific queue filtering
This commit is contained in:
@@ -343,7 +343,7 @@ bool TNetwork::TCPSend(TClient& c, const std::string& Data, bool IsSync) {
|
||||
if (!IsSync) {
|
||||
if (c.IsSyncing()) {
|
||||
//std::unique_lock Lock(c.MissedPacketQueueMutex());
|
||||
if(!Data.empty() && Data.at(0) != 'S') {
|
||||
if(!Data.empty() && (Data.at(0) == 'O' || Data.at(0) == 'A' || Data.at(0) == 'C')) {
|
||||
c.EnqueueMissedPacketDuringSyncing(Data);
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user