mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-04-07 11:26:01 +00:00
memory leak fix, now uses less than 5MB of memory
This commit is contained in:
@@ -60,7 +60,7 @@ void Check(Sequence* S){
|
||||
int Max(){
|
||||
int M = MaxPlayers;
|
||||
for(Client*c : Clients){
|
||||
if(c->GetRole() == "MDEV")M--;
|
||||
if(c->GetRole() == "MDEV")M++;
|
||||
}
|
||||
return M;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user