summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index bbc271f..c79ab89 100644
--- a/rules.js
+++ b/rules.js
@@ -3394,6 +3394,7 @@ exports.resign = function (state, current) {
game.victory = current + " resigned.";
game.result = ENEMY[current];
}
+ return state;
}
exports.view = function(state, current) {