memory leak fix, now uses less than 5MB of memory

This commit is contained in:
Anonymous275
2020-07-04 15:58:53 +03:00
parent 69362b2dfd
commit 83c095ba17
3 changed files with 17 additions and 16 deletions

View File

@@ -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;
}