That line isn't needed in this example yes, unless you do other things with your frame and require it to show on PLAYER_ENTERING_WORLD anyway. My question is if UnitAffectingCombat() is needed when the event fired already tells you whether you're in or out of combat.
|