From 4601d2542cde0052bce82c0c69cf6d118e215d96 Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Mon, 7 Jun 2021 05:38:10 +0300 Subject: [PATCH] fixes --- ScoreboardExt/Classes/KFScoreBoard.uc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ScoreboardExt/Classes/KFScoreBoard.uc b/ScoreboardExt/Classes/KFScoreBoard.uc index 91676e8..5dd2e04 100644 --- a/ScoreboardExt/Classes/KFScoreBoard.uc +++ b/ScoreboardExt/Classes/KFScoreBoard.uc @@ -222,7 +222,7 @@ function DrawMenu() Owner.CurrentStyle.DrawRectBox(BoxX, YPos, BoxW, BoxH, Edge, 4); Canvas.SetDrawColor(250, 250, 250, 255); - S = "Players: " $ NumPlayer $ " / " $ KFGameInfo(PC.WorldInfo.Game).MaxPlayers $ ", " $ "Spectators: " $ NumSpec; + S = "Players: " $ NumPlayer $ " / " $ KFGRI.MaxHumanCount $ " " $ "Spectators: " $ NumSpec; Canvas.TextSize(S, XL, YL, FontScalar, FontScalar); DrawTextShadowHLeftVCenter(S, BoxX + Edge, YPos, FontScalar); @@ -390,7 +390,7 @@ function DrawPlayerEntry( Canvas C, int Index, float YOffset, float Height, floa } else if (KFPRI.PlayerHealth <= 0 || KFPRI.PlayerHealthPercent <= 0) { - C.SetDrawColor(150,150,150,150); + C.SetDrawColor(200,0,0,150); } else {