Skip to content

Commit 58a8936

Browse files
committed
bugfix: prevent multiple initializations
1 parent 55e511d commit 58a8936

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Addon/Init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ end
4444

4545
local function EventHandler(self, event, ...)
4646

47+
-- prevent reinitialization
48+
self:SetScript("OnEvent", nil)
49+
4750
-- get data
4851
if LuaDKP_GetData then
4952
GetData()

0 commit comments

Comments
 (0)