summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 9b396fe..ee5d6bc 100644
--- a/rules.js
+++ b/rules.js
@@ -9026,6 +9026,13 @@ exports.query = function (state, current, q) {
return null;
}
+exports.is_checkpoint = function (a, b) {
+ let x = b.log[b.log.length-2];
+ if (x === ".h2 Britain") return true;
+ if (x === ".h2 France") return true;
+ return false;
+}
+
exports.view = function(state, current) {
load_game_state(state);