Example #1
0
 public void ClearChecks()
 {
     if (m_Trade != null)
     {
         m_Trade.From.Accepted = false;
         m_Trade.To.Accepted   = false;
         m_Trade.Update();
     }
 }
Example #2
0
        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();
            }
        }