summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 5d507df..84cd9a7 100644
--- a/rules.js
+++ b/rules.js
@@ -2882,6 +2882,7 @@ exports.resign = function (state, current) {
game.victory = current + " resigned.";
game.result = ENEMY[current];
}
+ return state;
}
exports.view = function(state, current) {