Changes
Fix column display logic
"buildable",
"buildable",
"notes",
"notes",
},
_stat_columns = {
"firepower",
"torpedo",
"bombing",
"aa",
"asw",
"los",
"luck",
"armor",
"shelling_accuracy",
"evasion",
"speed",
"range",
},
},
_list_columns = {
_list_columns = {
table.insert(stat_columns, format{self._column_header_cell_template, value = Formatting:format_image{StatIcons[stat_column], caption = Formatting:format_stat_name(stat_column)}})
table.insert(stat_columns, format{self._column_header_cell_template, value = Formatting:format_image{StatIcons[stat_column], caption = Formatting:format_stat_name(stat_column)}})
end
end
for _, column in ipairs(self._columns) do
for _, column in ipairs(self._stat_columns) do
if not self._shown_stats[column] then
if not self._shown_stats[column] then
for _, row_values in ipairs(data_rows) do
for _, row_values in ipairs(data_rows) do