招募房间推荐规则修改
This commit is contained in:
parent
49a8c41908
commit
904f30ee8c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue