diff --git a/worldsrv/scenemgr.go b/worldsrv/scenemgr.go index a546d0b..18003f6 100644 --- a/worldsrv/scenemgr.go +++ b/worldsrv/scenemgr.go @@ -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 {