summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorFrans Bongers <fransbongers@franss-mbp.home>2024-11-25 21:42:51 +0100
committerFrans Bongers <fransbongers@franss-mbp.home>2024-11-25 21:42:51 +0100
commit9414fe91218a00fe9e44b48fdf40e51de5cb4479 (patch)
treefb50f3c36d305e332000d9f01c3e6227128151c4 /rules.js
parent6d4ac135ddd2a7b4f54a7ce5b909457055597764 (diff)
downloadland-and-freedom-9414fe91218a00fe9e44b48fdf40e51de5cb4479.tar.gz
setup fronts and tracks
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 2952679..1704761 100644
--- a/rules.js
+++ b/rules.js
@@ -63,7 +63,9 @@ function game_view(state, player) {
location: game.location,
selected: game.selected,
current_events: game.current_events,
+ fronts: game.fronts,
hand: game.hands[faction_id],
+ tracks: game.tracks
};
if (player !== game.active) {
let inactive = states[game.state].inactive || game.state;