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()
AuxAuctionsFrame:Show()
m.frame:Show()
m.scan_auctions()
end
function public.CLOSE()
AuxAuctionsFrame:Hide()
m.frame:Hide()
end
function private.update_listing()
if not AuxAuctionsFrame:IsVisible() then
if not m:ACTIVE() then
return
end
@@ -106,7 +106,7 @@ do
)
end
function public.on_update()
function private.on_update()
if state == IDLE or state == SEARCHING then
m.cancel_button:Disable()
end