From bd00f756ecfc53228d9e174879d2015639a7dba5 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Wed, 7 Sep 2016 02:34:50 +0200 Subject: [PATCH] refactoring --- frame.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame.lua b/frame.lua index 697355a..a05ee84 100644 --- a/frame.lua +++ b/frame.lua @@ -18,7 +18,7 @@ do frame:SetScript('OnDragStart', function() this:StartMoving() end) frame:SetScript('OnDragStop', function() this:StopMovingOrSizing() end) frame:SetScript('OnShow', function() PlaySound('AuctionWindowOpen') end) - frame:SetScript('OnHide', function() PlaySound('AuctionWindowClose') CloseAuctionHouse() end) + frame:SetScript('OnHide', function() PlaySound('AuctionWindowClose'); CloseAuctionHouse() end) frame.content = CreateFrame('Frame', nil, frame) frame.content:SetPoint('TOPLEFT', 4, -80) frame.content:SetPoint('BOTTOMRIGHT', -4, 35)