Quantcast

First Test of Auctionator support

Ino Bertelsen [01-13-19 - 07:11]
First Test of Auctionator support
Filename
Modules/ProspectMe_Value.lua
diff --git a/Modules/ProspectMe_Value.lua b/Modules/ProspectMe_Value.lua
index 8175aee..d4528f7 100644
--- a/Modules/ProspectMe_Value.lua
+++ b/Modules/ProspectMe_Value.lua
@@ -8,6 +8,8 @@ local function Initialize ()
     		v = TSMAPI:GetItemValue(itemID, "DBMinBuyout")
 		elseif AucAdvanced then -- Auctioneer Support
 			v = AucAdvanced.API.GetMarketValue(select(2, GetItemInfo(itemID)))
+		elseif Atr_GetAuctionBuyout then -- Auctionator Support
+			v = Atr_GetAuctionBuyout(select(2, GetItemInfo(itemID)))
 		end

 		if v == nil then -- provides a failsafe if Auctioneer, etc is set to Load on Demand