lfg action

This commit is contained in:
Yunfan Li
2023-08-09 23:04:45 +08:00
parent d1eacd725d
commit 3aef47aa85

View File

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