Skip to content

Commit 648d0e6

Browse files
committed
small craft queue ui fix
1 parent 0ca5117 commit 648d0e6

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Data/News.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ function CraftSim.NEWS:GET_NEWS(itemMap)
2222
f.a .. "tracked professions from currently open expansion",
2323
f.p .. f.bb("Specialization Data Update") .. " for 11.0.2.56313",
2424
f.p .. "Changed general money format from",
25-
f.a .. GUTIL:FormatMoney(12345678, false, nil, false, true),
26-
f.a .. " to " .. GUTIL:FormatMoney(12345678),
25+
f.a .. GUTIL:FormatMoney(12345678, false, nil, false, true) .. " to " .. GUTIL:FormatMoney(12345678),
2726
newP("17.1.9"),
2827
f.p .. "Fixed Average Yield Calculation for Sub Recipe Optimization",
2928
f.a .. "- Thank you " .. f.bb("DiegoSnoop") .. " for pointing that out!",

Modules/CraftQueue/UI.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -1359,10 +1359,10 @@ function CraftSim.CRAFTQ.UI:UpdateCraftQueueTotalProfitDisplay()
13591359
totalAverageProfit = totalAverageProfit + row.averageProfit
13601360
totalCraftingCosts = totalCraftingCosts + row.craftingCosts
13611361
end
1362-
1363-
queueTab.content.totalAverageProfit:SetText(GUTIL:FormatMoney(totalAverageProfit, true, totalCraftingCosts))
1364-
queueTab.content.totalCraftingCosts:SetText(f.r(GUTIL:FormatMoney(totalCraftingCosts)))
13651362
end
1363+
1364+
queueTab.content.totalAverageProfit:SetText(GUTIL:FormatMoney(totalAverageProfit, true, totalCraftingCosts))
1365+
queueTab.content.totalCraftingCosts:SetText(f.r(GUTIL:FormatMoney(totalCraftingCosts)))
13661366
end
13671367

13681368
--- called when switching tab or when ending scan on selected row

0 commit comments

Comments
 (0)