summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 0a87053..94d5f8c 100644
--- a/rules.js
+++ b/rules.js
@@ -3517,6 +3517,12 @@ function observer_hand() {
return hand
}
+exports.dont_snap = function(state) {
+ if (state.state === "play_card" && state.active !== BOTH)
+ return true
+ return false
+}
+
exports.view = function(state, current) {
game = state