lfg related

This commit is contained in:
Yunfan Li
2023-07-26 13:58:20 +08:00
parent b5508f7595
commit 234b7db8b5
2 changed files with 11 additions and 11 deletions

View File

@@ -250,8 +250,8 @@ bool LfgRoleCheckAction::Execute(Event event)
{
uint32 currentRoles = sLFGMgr->GetRoles(bot->GetGUID());
uint32 newRoles = GetRoles();
// if (currentRoles == newRoles)
// return false;
if (currentRoles == newRoles)
return false;
sLFGMgr->SetRoles(bot->GetGUID(), newRoles);