Esempio n. 1
0
 protected override void OnDeath()
 {
     if (owner != null && !(owner.Equals(null)) && owner.GetUnitsCommanding().Contains(this))
     {
         owner.GetUnitsCommanding().Remove(this);
     }
     base.OnDeath();
 }