Skip to content

Commit 620902b

Browse files
committed
Fix an error that can happen when reloading UI while in combat
1 parent 692178e commit 620902b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collectionUi.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ local playerFullName;
2828
local UI = CreateFrame('Frame', 'TransmogUpgradeMaster_CollectionUI', UIParent, 'ButtonFrameTemplate');
2929
ns.UI = UI;
3030

31-
RunNextFrame(function()
31+
EventUtil.ContinueOnAddOnLoaded(addonName, function()
3232
playerFullName = UnitNameUnmodified('player') .. '-' .. GetRealmName();
3333

3434
UI.currentSeason = TUM.currentSeason

0 commit comments

Comments
 (0)