Skip to content

Commit 9c3e4fa

Browse files
committed
minor comms fix
embeds update metadata update for Cata Classic 4.4.2
1 parent bc0ff5c commit 9c3e4fa

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

BastionLoot.toc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
## Interface: 40401
1+
## Interface: 40402, 11506
22
## Author: Roadblock
33
## Title: BastionLoot
44
## Notes: In-game EPGP loot helper, supports standby, main/alt shared pool, minEP, offpecGP. Pluggable price list. Alternative +wincount mode.
5-
## Version: 4.3.5
5+
## Version: 4.3.6
66
## X-Alpha:
77
## X-Website: https://github.com/Road-block/BastionLoot/releases/latest
88
## OptionalDeps: Ace3, MizusRaidTracker

BastionLoot_Cata.toc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
## Interface: 40401
1+
## Interface: 40402, 40401
22
## Author: Roadblock
33
## Title: BastionLoot
44
## Notes: In-game EPGP loot helper, supports standby, main/alt shared pool, minEP, offpecGP. Pluggable price list. Alternative +wincount mode.
5-
## Version: 4.3.5
5+
## Version: 4.3.6
66
## X-Alpha:
77
## X-Website: https://github.com/Road-block/BastionLoot/releases/latest
88
## OptionalDeps: Ace3, MizusRaidTracker

BastionLoot_Vanilla.toc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
## Interface: 11505
1+
## Interface: 11506
22
## Author: Roadblock
33
## Title: BastionLoot
44
## Notes: In-game EPGP loot helper, supports standby, main/alt shared pool, minEP, offpecGP. Pluggable price list. Alternative +wincount mode.
5-
## Version: 2.9.4
5+
## Version: 2.9.5
66
## X-Alpha:
77
## X-Website: https://github.com/Road-block/BastionLoot/releases/latest
88
## OptionalDeps: Ace3, MizusRaidTracker

Libs/LibDialog-1.0/LibDialog-1.0.lua

+5
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,11 @@ local function _Dialog_OnHide(dialog)
262262
_RecycleWidget(dialog, active_dialogs, dialog_heap)
263263

264264
local delegate = dialog.delegate
265+
266+
if not delegate then
267+
return
268+
end
269+
265270
if delegate.on_hide then
266271
delegate.on_hide(dialog, dialog.data)
267272
end

Modules/comms.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ function bepgp_comms:OnCommReceived(prefix, payload, distribution, sender)
226226
local _, _epoch = payload:match("^(_epoch:)(%d+)$")
227227
_epoch = _epoch and tonumber(_epoch)
228228
if _epoch then
229-
if not self.db.profile.epgp._epoch or (_epoch > self.db.profile.epgp._epoch) then
229+
if (not self.db.profile.epgp._epoch) or (_epoch > tonumber(self.db.profile.epgp._epoch)) then
230230
if incoming[sender] then
231231
wipe(self.db.profile.epgp)
232232
self.db.profile.epgp._epoch = _epoch

0 commit comments

Comments
 (0)