View Single Post
03-16-11, 11:29 AM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,356
The first thing that comes to mind is if you're reloading in combat, secure frames are unable to be changed or even set up due to the game being in combat lockdown. The only thing I can think of to correct this is have your addon try to detect if you're already in combat. If so, wait until you exit combat before attempting to set up your frames. If you're waiting for a specific event before loading your frames, you might try moving it to the base of your code so it runs before ADDON_LOADED fires. There might be a time restriction on how long after a reload the game client will allow you to set up your frames.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote