From 976a36715880874f0286cfb1cf8d6e4486a05831 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 3 Jun 2016 14:25:04 +0200 Subject: * lowest of most profitable sacrifices --- src/ParContract.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ParContract.cs b/src/ParContract.cs index d767f0e..9255ca5 100644 --- a/src/ParContract.cs +++ b/src/ParContract.cs @@ -212,7 +212,8 @@ namespace BCDD possibleDefense = possibleDefense.FindAll(x => x.Score == optimumDefense.Score); foreach (ParContract defense in possibleDefense) { - if (defense.Higher(optimumDefense)) + // Lowest from the most profitable sacrifices + if (optimumDefense.Higher(defense)) { optimumDefense = defense; } -- cgit v1.2.3