mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-04 23:06:08 +00:00
remove unused PPSMonitor parameter
This commit is contained in:
@@ -110,7 +110,7 @@ void TNetwork::UDPServerMain() {
|
||||
Locked->UdpReceived += Data.size();
|
||||
++Locked->UdpPacketsReceived;
|
||||
Data.erase(Data.begin() + 0, Data.begin() + 2);
|
||||
TServer::GlobalParser(Locked, std::move(Data), mPPSMonitor, *this);
|
||||
TServer::GlobalParser(Locked, std::move(Data), *this);
|
||||
} catch (const std::exception&) {
|
||||
++Application::InvalidUdpPackets;
|
||||
}
|
||||
@@ -512,7 +512,7 @@ void TNetwork::TCPClient(const std::weak_ptr<TClient>& c) {
|
||||
Client->Disconnect("TCPRcv failed");
|
||||
break;
|
||||
}
|
||||
TServer::GlobalParser(c, std::move(res), mPPSMonitor, *this);
|
||||
TServer::GlobalParser(c, std::move(res), *this);
|
||||
}
|
||||
|
||||
if (QueueSync.joinable())
|
||||
|
||||
Reference in New Issue
Block a user