From c6637917de7e7281d947f3fd10a1dfe831c544d2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 13 Dec 2023 15:40:13 +0100 Subject: fix Straight 3/4 --- rules.js | 4 ++-- 1 file 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) { -- cgit v1.2.3