修改广播逻辑

This commit is contained in:
1
2025-11-18 20:52:04 +00:00
parent 4ab6b726a7
commit 6c32a5d7ac
19 changed files with 100 additions and 218 deletions

View File

@@ -9,7 +9,7 @@ import (
func (h Controller) Walk(data *maps.WalkInInfo, c *player.Player) (result *info.WalkOutInfo, err errorcode.ErrorCode) {
go c.GetSpace().Walk(info.WalkOutInfo{
c.GetSpace().Walk(c, info.WalkOutInfo{
Flag: data.Flag,
Point: data.Point,
Path: data.Path,
@@ -17,5 +17,5 @@ func (h Controller) Walk(data *maps.WalkInInfo, c *player.Player) (result *info.
})
c.Info.Pos = data.Point
return nil, -1
return
}