public void UpdateRegion() { if (m_Region != null) { m_Region.Unregister(); } if (!Deleted && Map != Map.Internal) { m_Region = new ExodusChestRegion(this); m_Region.Register(); } }
public void UpdateRegion() { if (this.m_Region != null) { this.m_Region.Unregister(); } if (!this.Deleted && this.Map != Map.Internal) { this.m_Region = new ExodusChestRegion(this); this.m_Region.Register(); } }