From 6cf75a46abfeb5c5fa0dd7da785e15a6d454aa28 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Thu, 19 Nov 2026 23:52:29 +0900 Subject: [PATCH] . --- exp_scenario/module/gui/vlayer.lua | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/exp_scenario/module/gui/vlayer.lua b/exp_scenario/module/gui/vlayer.lua index 9026ffba..a03b2c1d 100644 --- a/exp_scenario/module/gui/vlayer.lua +++ b/exp_scenario/module/gui/vlayer.lua @@ -302,7 +302,7 @@ function Elements.stats_table.refresh(stats_table, display_data) end end - elseif s_i < r_len then + else -- build for i=r_len + 1, s_i do local disp = disp_item[i - s_len] @@ -311,22 +311,18 @@ function Elements.stats_table.refresh(stats_table, display_data) [1] = Elements.stat_label( stats_table, { - "?", + "", + format_string( + "[img=entity.%s]", + disp.name + ), { - "", - format_string( - "[img=entity/%s]", - disp.name - ), + "?", prototypes.entity[disp.name].localised_name, - format_string( - " [%s]", - disp.quality - ) + disp.name, }, format_string( - "%s [%s]", - disp.name, + " [%s]", disp.quality ) },