summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-13 15:40:13 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-08 16:36:48 +0100
commitc6637917de7e7281d947f3fd10a1dfe831c544d2 (patch)
tree1ca484d926d930ac17ef1f6316b78028f8dbf0b3
parentc5e067628fa60914c388164e72716e487862e68e (diff)
downloadtable-battles-c6637917de7e7281d947f3fd10a1dfe831c544d2.tar.gz
fix Straight 3/4
-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) {