fix: Fixes old version not being passed properly to OnRegionChange (#1295)
This commit is contained in:
parent
b1cfb10ef8
commit
f82f61b4c5
1 changed files with 2 additions and 1 deletions
|
|
@ -6935,8 +6935,9 @@ public class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPropertyLis
|
||||||
{
|
{
|
||||||
Region.OnRegionChange(this, m_Region, newRegion);
|
Region.OnRegionChange(this, m_Region, newRegion);
|
||||||
|
|
||||||
|
var oldRegion = m_Region;
|
||||||
m_Region = newRegion;
|
m_Region = newRegion;
|
||||||
OnRegionChange(m_Region, newRegion);
|
OnRegionChange(oldRegion, newRegion);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue