From 31602bfa1926f5ac4aa64ff145e33e89d11a9b2f Mon Sep 17 00:00:00 2001 From: sasha80 Date: Tue, 7 Oct 2025 14:36:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0.=20=D0=9C=D0=B5=D0=BD=D1=8C=D1=88=D0=B5=20=D1=81?= =?UTF-8?q?=D0=B8=D0=BC=D0=B2=D0=BE=D0=BB=D0=BE=D0=B2=20=D0=BF=D0=BE=D1=81?= =?UTF-8?q?=D0=BB=D0=B5=20=D0=B7=D0=B0=D0=BF=D1=8F=D1=82=D0=BE=D0=B9=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=20=D1=86=D0=B5=D0=BB=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/frame-threats/scroll-threats.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scenes/frame-threats/scroll-threats.gd b/scenes/frame-threats/scroll-threats.gd index a0f2056..e2ef9d3 100644 --- a/scenes/frame-threats/scroll-threats.gd +++ b/scenes/frame-threats/scroll-threats.gd @@ -89,7 +89,8 @@ func map_th_to_row(th) -> Array: row.resize(TABLE_COLUMN_PARAM.size()) var i_col: int = 0 for param_name in TABLE_COLUMN_PARAM: - row[i_col] = '%s' % th.get(param_name) + var val = th.get(param_name) + row[i_col] = '%0.1f' % val if val is float else '%s' % val i_col += 1 return row