From 4bdd1c388f5caeb9ae02c0565ddd0a428e07d85d Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sun, 12 Feb 2017 13:09:13 +0100 Subject: [PATCH] refactoring --- tabs/post/frame.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabs/post/frame.lua b/tabs/post/frame.lua index 2181bf1..e40926d 100644 --- a/tabs/post/frame.lua +++ b/tabs/post/frame.lua @@ -285,12 +285,12 @@ do stack_size_slider.editbox:SetFocus() end end) - editbox.formatter = function() return money.to_string(get_unit_buyout_price(), true, nil, 3) end + editbox.formatter = function() return money.to_string(unit_buyout_price, true, nil, 3) end editbox.char = function() buyout_selection = nil end editbox.change = function() refresh = true end editbox.enter = function() this:ClearFocus() end editbox.focus_loss = function() - this:SetText(money.to_string(get_unit_buyout_price(), true, nil, 3, nil, true)) + this:SetText(money.to_string(unit_buyout_price, true, nil, 3, nil, true)) end do local label = gui.label(editbox, gui.font_size.small)