refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-07-16 14:04:06 +02:00
parent b97ad322ce
commit c29f59c697
15 changed files with 109 additions and 149 deletions
+4 -4
View File
@@ -11,16 +11,16 @@ function public.LOAD()
end
function public.OPEN()
AuxBidsFrame:Show()
m.frame:Show()
m.scan_bids()
end
function public.CLOSE()
AuxBidsFrame:Hide()
m.frame:Hide()
end
function private.update_listing()
if not AuxBidsFrame:IsVisible() then
if not m:ACTIVE() then
return
end
@@ -120,7 +120,7 @@ do
)
end
function public.on_update()
function private.on_update()
if state == IDLE or state == SEARCHING then
m.buyout_button:Disable()
m.bid_button:Disable()