fix: improved performance on bag->bank and bank->bag

This commit is contained in:
Salikh Gurgenidze
2026-01-24 04:32:31 +04:00
parent f443154f0d
commit c23c3ed7ad
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ function BankFrame:UpdateSingleSlot(bagID, slotID)
local targetButton = nil
for button in pairs(bankBagParent.itemButtons) do
if button.bagID == bagID and button.slot == slotID then
if button.bagID == bagID and button.slotID == slotID then
targetButton = button
break
end