From 2c0040a033d892212560f743d3a8117c8120ae98 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 24 Feb 2025 20:05:33 +0900 Subject: [PATCH] . --- exp_legacy/module/modules/gui/production.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exp_legacy/module/modules/gui/production.lua b/exp_legacy/module/modules/gui/production.lua index 87ab609e..be359e64 100644 --- a/exp_legacy/module/modules/gui/production.lua +++ b/exp_legacy/module/modules/gui/production.lua @@ -74,7 +74,7 @@ local production_data_group = Gui.element("production_data_group") local data = parent.add{ type = "label", name = "production_" .. i .. "_" .. j, - caption = "0.0", + caption = "0.00", style = "heading_2_label", } data.style.width = 80 @@ -138,9 +138,9 @@ Event.on_nth_tick(60, function() table[production_prefix .. "_3"].caption = format_n(sum) table[production_prefix .. "_3"].style.font_color = (sum < 0 and font_color["negative"]) or font_color["positive"] else - table[production_prefix .. "_1"].caption = "0.0" - table[production_prefix .. "_2"].caption = "0.0" - table[production_prefix .. "_3"].caption = "0.0" + table[production_prefix .. "_1"].caption = "0.00" + table[production_prefix .. "_2"].caption = "0.00" + table[production_prefix .. "_3"].caption = "0.00" table[production_prefix .. "_3"].style.font_color = font_color["positive"] end end