mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-07 01:03:21 +00:00
Minor changes
This commit is contained in:
parent
585ebc724c
commit
cf2cf9038d
2 changed files with 3 additions and 2 deletions
|
@ -97,6 +97,7 @@ public Action SoundHook(int[] clients, int& numClients, char sample[PLATFORM_MAX
|
|||
for(int i = 0; i < numClients; i++) {
|
||||
int client = clients[i];
|
||||
if(gaggedPlayers[client].FindValue(entity) > -1) {
|
||||
// Swap gagged player to end of list, then remove it (dec. numClients is effectively same)
|
||||
int swap = clients[numClients - 1];
|
||||
clients[numClients - 1] = client;
|
||||
clients[i] = swap;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue