mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
break out of loops after finding player
This commit is contained in:
parent
fb62419006
commit
86a19a559c
@ -1299,6 +1299,7 @@ public Action Command_CCAdd(int client, int args)
|
||||
{
|
||||
gB_CCAccess[i] = true;
|
||||
Shavit_PrintToChat(i, "%T", "CCAccessGranted", i, gS_ChatStrings.sVariable, gS_ChatStrings.sText);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1335,6 +1336,7 @@ public Action Command_CCDelete(int client, int args)
|
||||
if (IsValidClient(i) && GetSteamAccountID(i) == iSteamID)
|
||||
{
|
||||
gB_CCAccess[i] = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user