mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-17 08:02: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 {
|
if hostWorld.multiplayer == false {
|
||||||
g.UserWorldRemovePlayer(hostWorld, hostPlayer)
|
g.UserWorldRemovePlayer(hostWorld, hostPlayer)
|
||||||
|
|
||||||
hostPlayer.TeamConfig.CurrTeamIndex = 3
|
hostPlayer.TeamConfig.CurrTeamIndex = 0
|
||||||
hostPlayer.TeamConfig.CurrAvatarIndex = 0
|
hostPlayer.TeamConfig.CurrAvatarIndex = 0
|
||||||
|
|
||||||
// PacketPlayerEnterSceneNotify
|
// PacketPlayerEnterSceneNotify
|
||||||
@@ -234,7 +234,7 @@ func (g *GameManager) UserDealEnterWorld(hostPlayer *model.Player, otherUid uint
|
|||||||
Z: hostPlayer.Rot.Z,
|
Z: hostPlayer.Rot.Z,
|
||||||
}
|
}
|
||||||
otherPlayer.SceneId = hostPlayer.SceneId
|
otherPlayer.SceneId = hostPlayer.SceneId
|
||||||
otherPlayer.TeamConfig.CurrTeamIndex = 3
|
otherPlayer.TeamConfig.CurrTeamIndex = 0
|
||||||
otherPlayer.TeamConfig.CurrAvatarIndex = 0
|
otherPlayer.TeamConfig.CurrAvatarIndex = 0
|
||||||
|
|
||||||
// PacketPlayerEnterSceneNotify
|
// PacketPlayerEnterSceneNotify
|
||||||
|
|||||||
Reference in New Issue
Block a user