1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-02-12 22:19:27 +08:00
committed by cnb
parent 7255ef0669
commit aa43a2eec9

View File

@@ -19,6 +19,8 @@ func (h Controller) EnterMap(data *space.InInfo, c *player.Player) (result *info
if c.Info.MapID != data.MapId {
atomic.StoreUint32(&c.Canmon, 2)
c.MapNPC.Reset(7 * time.Second)
}else{
atomic.StoreUint32(&c.Canmon, 1)
}
c.Info.MapID = data.MapId //登录地图
c.Info.Pos = data.Point