diff --git a/StopSound/scripting/StopSound.sp b/StopSound/scripting/StopSound.sp index 457754d8..d3e2ffa2 100644 --- a/StopSound/scripting/StopSound.sp +++ b/StopSound/scripting/StopSound.sp @@ -649,7 +649,7 @@ public Action OnBroadcastSound(int entity, char sample[PLATFORM_MAX_PATH], int c int client = clients[i]; if(!g_bStopMapMusic[client]) { - clients[numClients] = clients[i]; + clients[newClients] = clients[i]; newClients++; } }