private void MoveParty(GridSlot p_targetSlot) { Party party = LegacyLogic.Instance.WorldManager.Party; GridSlot slot = m_grid.GetSlot(party.Position); slot.RemoveEntity(party); p_targetSlot.AddEntity(party); if (!p_targetSlot.VisitedByParty) { p_targetSlot.VisitedByParty = true; LegacyLogic.Instance.EventManager.InvokeEvent(this, EEventType.UNCOVERED_TILES, EventArgs.Empty); } party.Position = p_targetSlot.Position; BaseObjectEventArgs p_eventArgs = new BaseObjectEventArgs(party, party.Position); LegacyLogic.Instance.EventManager.InvokeEvent(party, EEventType.TELEPORT_ENTITY, p_eventArgs); }