From 904f30ee8ca9e23aed33484faa4df00962c45c3f Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Tue, 5 Nov 2024 15:21:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=9B=E5=8B=9F=E6=88=BF=E9=97=B4=E6=8E=A8?= =?UTF-8?q?=E8=8D=90=E8=A7=84=E5=88=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/scenemgr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {