Try to fix max car limit

This commit is contained in:
Anonymous-275 committed 2021-03-31 19:31:45 +03:00
1 parent 31486bcb56
commit 86b5d91579
1 file changed
+1 -1
+1 -1
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 Application::Settings.MaxCars > c.GetCarCount();
}
void TServer::ParseVehicle(TClient& c, const std::string& Pckt, TNetwork& Network) {