minor correction check

This commit is contained in:
jenz 2026-07-13 23:14:28 +02:00
parent b6e7443448
commit a23be2483f

View File

@ -292,7 +292,7 @@ public void OnBossKilled(CBoss Boss, CConfig Config, int reason)
bool inlist = false; bool inlist = false;
for (int j = 0; j <= MaxClients; j++) for (int j = 0; j <= MaxClients; j++)
{ {
if (iSortedList[j][0] == i) if (iSortedList[i][0] && iSortedList[j][0] == i)
{ {
inlist = true; inlist = true;
break; break;