feat(Core/debug): Add commad to debug lfg (#6638)
* feat(Core/debug): Add commad to debug lfg * Update LFGMgr.h * Update rev_1624914323095978900.sql * Code review fixes Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
@@ -288,7 +288,7 @@ namespace lfg
|
||||
return LFG_INCOMPATIBLES_MULTIPLE_LFG_GROUPS;
|
||||
|
||||
// Group with less that MAXGROUPSIZE members always compatible
|
||||
if (check.size() == 1 && numPlayers < MAXGROUPSIZE)
|
||||
if (!sLFGMgr->IsTesting() && check.size() == 1 && numPlayers < MAXGROUPSIZE)
|
||||
{
|
||||
LfgQueueDataContainer::iterator itQueue = QueueDataStore.find(check.front());
|
||||
LfgRolesMap roles = itQueue->second.roles;
|
||||
@@ -385,7 +385,7 @@ namespace lfg
|
||||
}
|
||||
|
||||
// Enough players?
|
||||
if (numPlayers != MAXGROUPSIZE)
|
||||
if (!sLFGMgr->IsTesting() && numPlayers != MAXGROUPSIZE)
|
||||
{
|
||||
strGuids.addRoles(proposalRoles);
|
||||
for (uint8 i = 0; i < 5 && check.guids[i]; ++i)
|
||||
|
||||
Reference in New Issue
Block a user