This commit is contained in:
phidias authored and GitHub committed 2026-11-19 23:52:29 +09:00
1 parent b7ff584383
commit 6cf75a46ab
1 file changed
+9 -13
+9 -13
View File
@@ -302,7 +302,7 @@ function Elements.stats_table.refresh(stats_table, display_data)
end end
end end
elseif s_i < r_len then else
-- build -- build
for i=r_len + 1, s_i do for i=r_len + 1, s_i do
local disp = disp_item[i - s_len] local disp = disp_item[i - s_len]
@@ -311,22 +311,18 @@ function Elements.stats_table.refresh(stats_table, display_data)
[1] = Elements.stat_label( [1] = Elements.stat_label(
stats_table, stats_table,
{ {
"?", "",
format_string(
"[img=entity.%s]",
disp.name
),
{ {
"", "?",
format_string(
"[img=entity/%s]",
disp.name
),
prototypes.entity[disp.name].localised_name, prototypes.entity[disp.name].localised_name,
format_string( disp.name,
" [%s]",
disp.quality
)
}, },
format_string( format_string(
"%s [%s]", " [%s]",
disp.name,
disp.quality disp.quality
) )
}, },