small change

This commit is contained in:
Manuel Simon Hirsig
2016-04-26 01:50:46 +02:00
parent 1768efa9a6
commit 7c17709e50
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -253,13 +253,14 @@ function Aux.AuctionFrameAuctions_OnEvent(...)
end
function Aux.on_auction_house_show()
if not UnitFactionGroup('npc') then
Aux.neutral = true
end
AuxFrame:Show()
Aux.tab_group:set_tab(1)
end
function Aux.neutral_faction()
return not UnitFactionGroup('npc')
end
function Aux.on_auction_house_closed()
Aux.post.stop()
Aux.stack.stop()
+1 -1
View File
@@ -615,7 +615,7 @@ function private.update_item_configuration()
private.stack_count_slider.editbox:SetNumber(private.stack_count_slider:GetValue())
do
local deposit_factor = Aux.neutral and 0.25 or 0.05
local deposit_factor = Aux.neutral_faction() and 0.25 or 0.05
local stack_size = private.stack_size_slider:GetValue()
local stack_count
stack_count = private.stack_count_slider:GetValue()