public void ClearChecks() { if (m_Trade != null) { m_Trade.From.Accepted = false; m_Trade.To.Accepted = false; m_Trade.Update(); } }
public void ClearChecks() { if (m_Trade != null) { if (m_Trade.From != null && !m_Trade.From.IsDisposed) { m_Trade.From.Accepted = false; } if (m_Trade.To != null && !m_Trade.To.IsDisposed) { m_Trade.To.Accepted = false; } m_Trade.Update(); } }