掉落场景物件初步

This commit is contained in:
flswld
2023-03-28 19:49:58 +08:00
parent a175417ebf
commit 41e51297db
8 changed files with 126 additions and 135 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ func (g *GameManager) AoiPlayerMove(player *model.Player, oldPos *model.Vector,
// 旧有新没有的group即为卸载的
if !world.GetMultiplayer() {
// 处理多人世界不同玩家不同位置的group卸载情况
g.RemoveGroup(player, scene, groupConfig)
g.RemoveSceneGroup(player, scene, groupConfig)
}
}
for groupId, groupConfig := range newNeighborGroupMap {