mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-06-17 14:12:25 +00:00
Possible debug spam fix
This commit is contained in:
@@ -128,6 +128,7 @@ void SyncClient(Client* c) {
|
|||||||
if (client.get() != c) {
|
if (client.get() != c) {
|
||||||
for (auto& v : client->GetAllCars()) {
|
for (auto& v : client->GetAllCars()) {
|
||||||
if (v != nullptr) {
|
if (v != nullptr) {
|
||||||
|
if(c->GetStatus() < 0)return;
|
||||||
Respond(c, v->Data, true);
|
Respond(c, v->Data, true);
|
||||||
std::this_thread::sleep_for(std::chrono::seconds(2));
|
std::this_thread::sleep_for(std::chrono::seconds(2));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user