From d0b16605fa9b6003dfd4e33acd7100a9309b6d8d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 6 May 2023 20:59:01 +0200 Subject: Add replay checkpoints. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index c8b61cf..07ed5ae 100644 --- a/rules.js +++ b/rules.js @@ -8109,7 +8109,7 @@ exports.action = function (state, role, action, arg) { } exports.is_checkpoint = function (a, b) { - return a.turn !== b.turn + return a.deck.length !== b.deck.length } // === COMMON LIBRARY === -- cgit v1.2.3