summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index e8c98c7..c12c816 100644
--- a/rules.js
+++ b/rules.js
@@ -2491,6 +2491,7 @@ function gen_action_stop_hex(hex) {
}
exports.view = function (state, player) {
+ zoc_valid = false
game = state
view = {
@@ -2547,6 +2548,7 @@ exports.action = function (state, player, action, arg) {
}
exports.resign = function (state, player) {
+ zoc_valid = false
game = state
if (game.state !== 'game_over') {
if (player === P1)