diff options
Diffstat (limited to 'src/ParScore.cs')
-rw-r--r-- | src/ParScore.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ParScore.cs b/src/ParScore.cs index b1561fc..a3705fd 100644 --- a/src/ParScore.cs +++ b/src/ParScore.cs @@ -121,8 +121,9 @@ namespace BCDD {
return nsPlaying ? nsHighest.Validate() : ewHighest.Validate();
}
- bool defenseVulnerability = this.determineVulnerability(vulnerability, nsPlaying ? 'E' : 'N');
ParContract highest = nsHighest.Higher(ewHighest) ? nsHighest : ewHighest;
+ nsPlaying = ('N'.Equals(highest.Declarer) || 'S'.Equals(highest.Declarer));
+ bool defenseVulnerability = this.determineVulnerability(vulnerability, nsPlaying ? 'E' : 'N');
ParContract highestDefense = highest.GetDefense(ddTable, defenseVulnerability);
if (highestDefense != null)
{
|