3pT2BS: Properly check for addOnName in ADDON_LOADED event handler, to avoid initialising once per total number of loaded addons..
This commit is contained in:
parent
6d5cd315fa
commit
5e7a3dd6ad
|
@ -64,7 +64,10 @@ function events:COMBAT_LOG_EVENT_UNFILTERED()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
function events:ADDON_LOADED()
|
function events:ADDON_LOADED(addOnName)
|
||||||
|
if addOnName ~= "33pT2BS" then
|
||||||
|
return
|
||||||
|
end
|
||||||
ThreepT2BSDB = ThreepT2BSDB or {
|
ThreepT2BSDB = ThreepT2BSDB or {
|
||||||
["battleShoutPausePeriod"] = 10,
|
["battleShoutPausePeriod"] = 10,
|
||||||
["wrathSetId"] = 218,
|
["wrathSetId"] = 218,
|
||||||
|
|
Loading…
Reference in a new issue