mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-06-17 13:40:53 +00:00
Car limit fix
This commit is contained in:
+1
-1
@@ -180,7 +180,7 @@ bool TServer::ShouldSpawn(TClient& c, const std::string& CarJson, int ID) {
|
|||||||
return true;
|
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) {
|
void TServer::ParseVehicle(TClient& c, const std::string& Pckt, TNetwork& Network) {
|
||||||
|
|||||||
Reference in New Issue
Block a user