This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user