mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2025-08-18 12:55:36 +00:00
Car limit fix
This commit is contained in:
parent
08660d83dc
commit
31486bcb56
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user