Skip to content

feat: add sc2 BuildingStatisticsOverviewTable#7369

Open
hjpalpha wants to merge 3 commits intomainfrom
BuildingStatisticsOverviewTable-sc2
Open

feat: add sc2 BuildingStatisticsOverviewTable#7369
hjpalpha wants to merge 3 commits intomainfrom
BuildingStatisticsOverviewTable-sc2

Conversation

@hjpalpha
Copy link
Copy Markdown
Collaborator

@hjpalpha hjpalpha commented Apr 8, 2026

Summary

as title states

How did you test this change?

live

@hjpalpha hjpalpha added the g: starcraft Starcraft label Apr 8, 2026
@hjpalpha hjpalpha marked this pull request as ready for review April 14, 2026 14:16
@hjpalpha hjpalpha requested review from a team as code owners April 14, 2026 14:16
Comment on lines +61 to +63
if not buildings or type(buildings[1]) ~= 'table' then
return
end
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if not buildings or type(buildings[1]) ~= 'table' then
return
end
if #buildings == 0 then
return
end

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my check catches query errors (where it returns a string instead of a table) yours does not

Comment thread lua/wikis/starcraft2/BuildingStatisticsOverviewTable.lua Outdated
Comment thread lua/wikis/starcraft2/BuildingStatisticsOverviewTable.lua Outdated
@hjpalpha hjpalpha requested a review from ElectricalBoy April 15, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

g: starcraft Starcraft

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants