summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index eb381ea..c847003 100644
--- a/rules.js
+++ b/rules.js
@@ -894,9 +894,9 @@ function check_all_4(c, x, y, z, w) {
function check_straight_4_or_3(c) {
if (is_straight_4_or_3(c) === 4)
- check_straight_4(c)
+ return check_straight_4(c)
else
- check_straight_3(c)
+ return check_straight_3(c)
}
function check_straight_3(c) {