Skip to content

Commit 2beb3e1

Browse files
committed
quickbuy fix
1 parent 2d4d0a1 commit 2beb3e1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Data/News.lua

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ function CraftSim.NEWS:GET_NEWS(itemMap)
1818
f.bb(" Hello and thank you for using CraftSim!\n"),
1919
f.bb(" ( You are awesome! )"),
2020
newP("19.7.2"),
21+
f.p .. "Fixed " .. f.bb("QuickBuy") .. " reset on list refresh",
22+
f.a .. "- Now always starts a new search",
2123
f.p .. "Locals Update",
2224
f.a .. "- " .. f.bb("esES") .. " by: " .. f.bb("https://github.com/GarikGangrel"),
2325
newP("19.7.1"),

Modules/CraftQueue/CraftQueue.lua

+3-5
Original file line numberDiff line numberDiff line change
@@ -1156,12 +1156,10 @@ function CraftSim.CRAFTQ:AuctionatorQuickBuy()
11561156
end
11571157

11581158
if status(QB_STATUS.SEARCH_READY) then
1159-
mapSearchResultRows(allItemSearchStrings)
1160-
if not matchSearchResultRows(allItemSearchStrings) then
1161-
print("- No Match with Results: DoSearch")
1162-
AuctionatorShoppingFrame:DoSearch(allItemSearchStrings)
1163-
end
1159+
wipe(qbCache.resultRows)
1160+
AuctionatorShoppingFrame:DoSearch(allItemSearchStrings)
11641161
set(QB_STATUS.SEARCH_STARTED)
1162+
return
11651163
end
11661164

11671165
if status(QB_STATUS.SEARCH_STARTED) then

0 commit comments

Comments
 (0)