Thread: Keybindissue
View Single Post
08-18-14, 04:30 AM   #7
liquidbase
A Warpwood Thunder Caller
 
liquidbase's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2010
Posts: 97
Have found a way to get the function even after a reload to trigger

Directly behind:
Lua Code:
  1. hooksecurefunc("ActionButton_OnEvent", function(self, event, ...)
  2.     if event == "PLAYER_ENTERING_WORLD"
  3.         then ActionButton_UpdateHotkeys(self, self.buttonType)
  4.     end
  5. end)
and it works.