From 0e446149e6abc464ecef40237d1f44856e8be44f Mon Sep 17 00:00:00 2001 From: Andras Schaffer Date: Mon, 9 Sep 2024 22:13:12 +0200 Subject: [PATCH] Fix batterycell with icons (#3403) --- ExtLibs/Controls/HUD.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExtLibs/Controls/HUD.cs b/ExtLibs/Controls/HUD.cs index 74cc27b994..ea1580b434 100644 --- a/ExtLibs/Controls/HUD.cs +++ b/ExtLibs/Controls/HUD.cs @@ -2862,7 +2862,7 @@ internal void doPaint() text = _batterylevel.ToString("0.00v") + " " + _current.ToString("0.0 A") + " " + (_batteryremaining) + "%"; drawstring(text, font, fontsize + 1, textcolor, bottomsize / 2 + 6, yPos[1]); if (displayCellVoltage & (_batterycellcount != 0)) - drawstring((_batterylevel / _batterycellcount).ToString("0.00v"), font, fontsize, textcolor, bottomsize / 2 + 6, yPos[1]); + drawstring((_batterylevel / _batterycellcount).ToString("0.00v"), font, fontsize, textcolor, bottomsize / 2 + 6, yPos[0]); } else