public override void OnSingleClick(Mobile from) { if (m_Board == null || m_Board.Deleted) { Delete(); } else if (!IsChildOf(m_Board)) { m_Board.DropItem(this); } else { base.OnSingleClick(from); } }
public override bool OnDragLift(Mobile from) { if (m_Board == null || m_Board.Deleted) { Delete(); return(false); } else if (!IsChildOf(m_Board)) { m_Board.DropItem(this); return(false); } else { return(true); } }