整了个小活

This commit is contained in:
huangxiaolei
2022-12-22 18:02:29 +08:00
parent 954e5814e2
commit 16dd9c1e87
6 changed files with 396 additions and 90 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ func (g *GameManager) EvtCreateGadgetNotify(player *model.Player, payloadMsg pb.
logger.Debug("EvtCreateGadgetNotify: %v", req)
world := WORLD_MANAGER.GetWorldByID(player.WorldId)
scene := world.GetSceneById(player.SceneId)
scene.ClientCreateEntityGadget(&model.Vector{
scene.CreateEntityGadgetClient(&model.Vector{
X: float64(req.InitPos.X),
Y: float64(req.InitPos.Y),
Z: float64(req.InitPos.Z),