had forgotten checking if client index is valid even

This commit is contained in:
jenz 2026-07-31 18:57:07 +02:00
parent 4cf475c109
commit a72b0d9a8d

View File

@ -285,7 +285,7 @@ public void OnBossKilled(CBoss Boss, CConfig Config, int reason)
Format(sBuffer_rest, sizeof(sBuffer_rest), "%s\n%i. %N - %d %s", sBuffer_rest, i, iSortedList[i][0], iSortedList[i][1], sType); Format(sBuffer_rest, sizeof(sBuffer_rest), "%s\n%i. %N - %d %s", sBuffer_rest, i, iSortedList[i][0], iSortedList[i][1], sType);
PrintToConsoleAll(sBuffer_rest); PrintToConsoleAll(sBuffer_rest);
} }
else else if (IsValidClient(i))
{ {
char sBuffer_rest[512]; char sBuffer_rest[512];
Format(sBuffer_rest, sizeof(sBuffer_rest), "%s\n-1. %N - Did not shoot.", sBuffer_rest, i); Format(sBuffer_rest, sizeof(sBuffer_rest), "%s\n-1. %N - Did not shoot.", sBuffer_rest, i);