public void RemoveReaction(Reaction reaction) { Reaction r = reactions.FirstOrDefault(o => o.ReactionName == reaction.ReactionName); if (r != null) { r.DecrementReaction(); } if (r.ReactionAmount <= 0) { reactions.Remove(r); } }