fix: Fixes multi search (#1601)
This commit is contained in:
parent
b5c984e5de
commit
021ebd0a88
8 changed files with 87 additions and 35 deletions
|
|
@ -6943,6 +6943,16 @@ public partial class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPro
|
|||
item.SendInfoTo(ns);
|
||||
}
|
||||
}
|
||||
|
||||
var range = new Rectangle2D(m_Location.X - Core.GlobalMaxUpdateRange,
|
||||
m_Location.Y - Core.GlobalMaxUpdateRange,
|
||||
Core.GlobalMaxUpdateRange * 2 + 1,
|
||||
Core.GlobalMaxUpdateRange * 2 + 1);
|
||||
|
||||
foreach (var multi in m_Map.GetMultisInBounds(range))
|
||||
{
|
||||
multi.SendInfoTo(ns);
|
||||
}
|
||||
}
|
||||
|
||||
public void UpdateRegion()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue