From 80ec35bca19d086aba04e2aea4995f477b52299b Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Mon, 31 Oct 2016 05:28:42 +0100 Subject: [PATCH] removed receit feature (looks too weird) --- aux-addon.lua | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/aux-addon.lua b/aux-addon.lua index c0e44bd..fba5240 100644 --- a/aux-addon.lua +++ b/aux-addon.lua @@ -113,21 +113,7 @@ function M.hook(...) auto[arg] = true return hook end -purchased = t - do - local f = CreateFrame('MessageFrame', nil, UIParent) - f:SetFrameStrata('HIGH') - f:SetPoint('TOP', 0, -20) - f:SetWidth(512) - f:SetHeight(40) - f:SetFontObject(GameFontNormalHuge) - - function M.show_receit(link) - if purchased[link] then - f:AddMessage(link .. 'x' .. purchased[link]) - end - end local locked function M.get_bid_in_progress() return locked end function M.place_bid(type, index, amount, on_success) @@ -136,11 +122,8 @@ do PlaceAuctionBid(type, index, amount) if money >= amount then locked = true - local record = info.auction(index, type) event_listener('CHAT_MSG_SYSTEM', function(kill) if arg1 == ERR_AUCTION_BID_PLACED then - purchased[record.link] = (purchased[record.link] or 0) + record.aux_quantity - f:AddMessage(record.link .. 'x' .. purchased[record.link]) do (on_success or nop)() end locked = false kill() @@ -183,7 +166,6 @@ end function AUCTION_HOUSE_SHOW() AuctionFrame:Hide() AuxFrame:Show() - wipe(purchased) tab = 1 end