summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index e688381..d874126 100644
--- a/rules.js
+++ b/rules.js
@@ -3927,7 +3927,11 @@ function observer_hand() {
return hand
}
-exports.is_checkpoint = (a, b) => a.turn !== b.turn
+exports.dont_snap = function(state) {
+ if (state.state === "play_card" && state.active !== BOTH)
+ return true
+ return false
+}
exports.view = function(state, current) {
game = state