I noticed a RegisterCallback error in UnitPanel.lua and tracked it down to being caused by changing my interface from using small interface to normal interface. Issue was occurring because of:
It looks like PromotionText in UnitPanel_small.xml was changed from a Label to a TextButton to make it able to be registered for events, but wasn't changed in UnitPanel.xml. Quick solution was to just add UnitPanel.xml and change it's PromotionText Label to a TextButton as well.
Can't wait to see the mod on the Workshop soon!
Code:
Controls.PromotionText:RegisterCallback(Mouse.eLClick, OnPromotionTreeButton)
It looks like PromotionText in UnitPanel_small.xml was changed from a Label to a TextButton to make it able to be registered for events, but wasn't changed in UnitPanel.xml. Quick solution was to just add UnitPanel.xml and change it's PromotionText Label to a TextButton as well.
Can't wait to see the mod on the Workshop soon!
