mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 14:42:26 +08:00
修复登录场景卡白屏
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user