招募房间推荐规则修改

This commit is contained in:
sk 2024-11-05 15:21:57 +08:00
parent 49a8c41908
commit 904f30ee8c
1 changed files with 2 additions and 2 deletions

View File

@ -407,10 +407,10 @@ func (m *SceneMgr) FindCustomInviteRoom(p *Player) *Scene {
return false
}
iN, jN := ret[i].GetMaxPlayerNum()-ret[i].GetPlayerCnt(), ret[j].GetMaxPlayerNum()-ret[j].GetPlayerCnt()
if iN > jN {
if iN < jN {
return true
}
if iN < jN {
if iN > jN {
return false
}
if ret[i].RecruitTimes > ret[j].RecruitTimes {