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
+6 -10
+6 -10
View File
@@ -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]
@@ -310,23 +310,19 @@ function Elements.stats_table.refresh(stats_table, display_data)
rows[i] = {
[1] = Elements.stat_label(
stats_table,
{
"?",
{
"",
format_string(
"[img=entity/%s]",
"[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
)
},