diff --git a/BossHP/scripting/BossHP_Ranking.sp b/BossHP/scripting/BossHP_Ranking.sp index 4fe7867..4e07e90 100644 --- a/BossHP/scripting/BossHP_Ranking.sp +++ b/BossHP/scripting/BossHP_Ranking.sp @@ -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); PrintToConsoleAll(sBuffer_rest); } - else + else if (IsValidClient(i)) { char sBuffer_rest[512]; Format(sBuffer_rest, sizeof(sBuffer_rest), "%s\n-1. %N - Did not shoot.", sBuffer_rest, i);