From f738181fa50afce62813388378312014c353d656 Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Sun, 16 May 2021 23:29:34 +0300 Subject: [PATCH] fix --- ScoreboardExt/Classes/KFScoreBoard.uc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ScoreboardExt/Classes/KFScoreBoard.uc b/ScoreboardExt/Classes/KFScoreBoard.uc index b78e6ca..15dd28c 100644 --- a/ScoreboardExt/Classes/KFScoreBoard.uc +++ b/ScoreboardExt/Classes/KFScoreBoard.uc @@ -233,7 +233,7 @@ function DrawTextWCenter(string Str, float XPos, float YPos, float BoxWidth, flo //Canvas.SetPos(XPos + (BoxWidth - TextWidth)/2 , YPos); //Canvas.DrawText(Str, , FontScalar, FontScalar); - Owner.CurrentStyle.DrawTextShadow(Str, XPos, YPos, 1, FontScalar); + Owner.CurrentStyle.DrawTextShadow(Str, XPos + (BoxWidth - TextWidth)/2 , YPos, 1, FontScalar); } function DrawTextWLeft(string Str, float XPos, float YPos, float FontScalar)