summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 2760993..fcdc1ec 100644
--- a/rules.js
+++ b/rules.js
@@ -2832,11 +2832,16 @@ exports.view = function(state, current) {
traitor: game.traitor,
steps: game.steps,
moved: game.moved,
+ limits: game.limits,
+ last_used: [ game.c_last_used, game.p_last_used ],
battle: null,
prompt: null,
actions: null,
}
+ if (game.main_road && game.main_road.length > 0)
+ view.main_road = game.main_road
+
states[game.state].prompt(view, current)
if (states[game.state].show_battle)