Fix minimum points application

This commit is contained in:
2021-06-24 00:38:37 +02:00
parent 437de4882b
commit 80ad22cbb6
+1 -1
View File
@@ -373,7 +373,7 @@ function getPatterns(thisHand = null, thisMinimumPoints = null) {
let points = Object.values(patterns).map(pattern => pattern.points);
let maxPoints = Math.max(...points);
if (maxPoints < minimumPoints) {
if (maxPoints < thisMinimumPoints) {
return [];
}