Skip to content

Commit

Permalink
Partial Revert of Previous Commit
Browse files Browse the repository at this point in the history
* Do Player:Cache() on PLAYER_LOGIN as delaying causes issues in some modules
  • Loading branch information
EvanMichaels committed Jul 28, 2018
1 parent c14d606 commit ce05d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HeroLib/Events/Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ HL:RegisterForEvent(function(Event, Arg1)
-- TODO: fix timing issue via event?
C_Timer.After(3, function()
HL.LoadOverrides(Cache.Persistent.Player.Spec[1])
Player:Cache()
end)
Player:Cache()
elseif Event == "PLAYER_SPECIALIZATION_CHANGED" then
HL.LoadRestores()
HL.LoadOverrides(Cache.Persistent.Player.Spec[1])
Expand Down

0 comments on commit ce05d85

Please sign in to comment.