From 362ca86130f5f3594bb7919e1769bf2e659500df Mon Sep 17 00:00:00 2001 From: huangxiaolei <1782360262@qq.com> Date: Mon, 28 Nov 2022 18:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=BD=95=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E5=8D=A1=E7=99=BD=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gs/game/user_multiplayer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gs/game/user_multiplayer.go b/gs/game/user_multiplayer.go index cda73f5a..2f7b1a7a 100644 --- a/gs/game/user_multiplayer.go +++ b/gs/game/user_multiplayer.go @@ -194,7 +194,7 @@ func (g *GameManager) UserDealEnterWorld(hostPlayer *model.Player, otherUid uint if hostWorld.multiplayer == false { g.UserWorldRemovePlayer(hostWorld, hostPlayer) - hostPlayer.TeamConfig.CurrTeamIndex = 3 + hostPlayer.TeamConfig.CurrTeamIndex = 0 hostPlayer.TeamConfig.CurrAvatarIndex = 0 // PacketPlayerEnterSceneNotify @@ -234,7 +234,7 @@ func (g *GameManager) UserDealEnterWorld(hostPlayer *model.Player, otherUid uint Z: hostPlayer.Rot.Z, } otherPlayer.SceneId = hostPlayer.SceneId - otherPlayer.TeamConfig.CurrTeamIndex = 3 + otherPlayer.TeamConfig.CurrTeamIndex = 0 otherPlayer.TeamConfig.CurrAvatarIndex = 0 // PacketPlayerEnterSceneNotify