had forgotten checking if client index is valid even
This commit is contained in:
parent
4cf475c109
commit
a72b0d9a8d
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user