diff options
Diffstat (limited to 'src/ParContract.cs')
-rw-r--r-- | src/ParContract.cs | 3 |
1 files changed, 2 insertions, 1 deletions
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;
}
|