Car limit fix

This commit is contained in:
Anonymous-275 2021-03-31 19:27:05 +03:00
parent 08660d83dc
commit 31486bcb56

View File

@ -180,7 +180,7 @@ bool TServer::ShouldSpawn(TClient& c, const std::string& CarJson, int ID) {
return true;
}
return c.GetCarCount() < Application::Settings.MaxCars;
return c.GetCarCount() <= Application::Settings.MaxCars;
}
void TServer::ParseVehicle(TClient& c, const std::string& Pckt, TNetwork& Network) {