View Single Post
04-26-24, 12:47 PM   #12
Sharpedge
A Theradrim Guardian
 
Sharpedge's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2022
Posts: 68
Originally Posted by Fizzlemizz View Post
Stealing from Blizz. code, add this to your timer before the other code:
Lua Code:
  1. local canUseRated = C_PvP.CanPlayerUseRatedPVPUI();
  2. local canUsePremade = C_LFGInfo.CanPlayerUsePremadeGroup();
  3. if canUseRated then
  4.     PVPQueueFrame_SetCategoryButtonState(PVPQueueFrame.CategoryButton2, true);
  5.     PVPQueueFrame.CategoryButton2.tooltip = nil;
  6. end
  7. if canUsePremade then
  8.     PVPQueueFrame.CategoryButton3.tooltip = nil;
  9.     PVPQueueFrame_SetCategoryButtonState(PVPQueueFrame.CategoryButton3, true);
  10. end
You are a freakin' genius. Thank you for the fix. I don't think I would of ever found that. I really appreciate it.
  Reply With Quote