From b994aeab70ccd531410eebf0f5c528dcebb6a10a Mon Sep 17 00:00:00 2001 From: BotoX Date: Sun, 22 Oct 2017 09:50:31 +0200 Subject: [PATCH] StopSound: Fix yet another huge bug. --- StopSound/scripting/StopSound.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } }