mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
lfg action
This commit is contained in:
parent
d1eacd725d
commit
3aef47aa85
@ -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);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user