Skip to content

Commit

Permalink
Invert illegal commodities icons in the Economy & Trade view. Fix #5876
Browse files Browse the repository at this point in the history
  • Loading branch information
lolo101 authored and Webster Sheets committed Aug 13, 2024
1 parent 7ce4a53 commit 29af573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/pigui/modules/system-econ-view.lua
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ function SystemEconView:drawCommodityList(commList, illegalList, thisSystem, oth

-- only display illegal icon if the commodity is actually legal in the other system
if otherSystem and (info[2] or info[3]) then
drawIcon(SystemEconView.ClassifyPrice(info[2]), iconSize)
ui.sameLine(0, 0)
drawIcon(SystemEconView.ClassifyPrice(info[3]), iconSize)
ui.sameLine(0, 0)
drawIcon(SystemEconView.ClassifyPrice(info[2]), iconSize)
end
end)

Expand Down

0 comments on commit 29af573

Please sign in to comment.