bugfix in post

This commit is contained in:
Manuel Simon Hirsig
2016-03-02 23:38:17 +01:00
parent 9784afaf0d
commit 9dd2d6b1a6
+2 -2
View File
@@ -483,8 +483,8 @@ function public.on_load()
btn:GetFontString():SetJustifyH('RIGHT')
btn:GetFontString():SetPoint('RIGHT', 0, 0)
btn:SetScript('OnClick', function()
private.set_unit_start_price(this.amount)
private.set_unit_buyout_price(this.amount)
private.set_unit_start_price(this.amount or 0)
private.set_unit_buyout_price(this.amount or 0)
end)
local label = Aux.gui.label(btn, 13)
label:SetPoint('BOTTOMLEFT', btn, 'TOPLEFT', -2, 1)