Skip to content

Commit ed7b8b5

Browse files
committed
Code cleanup & Support for Midnight 12.0.5 PTR
1 parent 0266e2a commit ed7b8b5

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 20260320
2+
- Code cleanup
3+
- Support for Midnight 12.0.5 PTR
4+
15
## 20260211
26
- Removed Midnight 12.0.0, promoted 12.0.1
37

FasterLoot/FasterLoot.lua

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ addon:RegisterEvent("LOOT_READY")
88
addon:SetScript("OnEvent", function()
99
if GetCVarBool("autoLootDefault") ~= IsModifiedClick("AUTOLOOTTOGGLE") then
1010
if (GetTime() - epoch) >= LOOT_DELAY then
11-
if TSMDestroyBtn and TSMDestroyBtn:IsShown() and TSMDestroyBtn:GetButtonState() == "DISABLED" then epoch = GetTime() return
11+
if TSMDestroyBtn and TSMDestroyBtn:IsShown() and TSMDestroyBtn:GetButtonState() == "DISABLED" then
12+
epoch = GetTime()
13+
return
1214
end
1315
for i = GetNumLootItems(), 1, -1 do
1416
LootSlot(i)
1517
end
1618
epoch = GetTime()
1719
end
1820
end
19-
end
20-
)
21+
end)

FasterLoot/FasterLoot.toc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## Interface: 120001, 50503, 40402, 30405, 38000, 20505, 11508
1+
## Interface: 120005, 120001, 50503, 40402, 30405, 38000, 20505, 11508
22
#
3-
# Mainline: 120001 (Midnight Beta, PTR, Live)
3+
# Mainline: 120001 (Midnight Beta, Live), 120005 (PTR)
44
# Mists: 50503 (Live, PTR)
55
# Cata: 40402 (Live)
66
# Wrath: 30405 (Live)
@@ -10,7 +10,7 @@
1010
#
1111
## Title: Faster Loot
1212
## Notes: Makes the loot frame instant
13-
## Version: 20260211
13+
## Version: 20260320
1414
## Author: Xarano
1515
## Category: Loot
1616
## IconTexture: Interface\Icons\Inv_cape_special_treasure_c_01

0 commit comments

Comments
 (0)