summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-29 13:38:09 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-29 13:38:09 +0100
commit1f47dc63b4aaf7f52334d702ae2de8dc69fcf2ee (patch)
treecc14bb13518cc8e70ad045c082e2d15e34a4d4a7 /rules.js
parent794f1b8e6d6cb7d58c3036241e2bd355bc55ece6 (diff)
download1989-dawn-of-freedom-1f47dc63b4aaf7f52334d702ae2de8dc69fcf2ee.tar.gz
Carry changes to play.js
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 1b8b52a..f2f7b51 100644
--- a/rules.js
+++ b/rules.js
@@ -77,7 +77,8 @@ exports.setup = function (seed, scenario, options) {
tst_8: false,
vp: 0,
- pieces: [null],
+ demInfl: spaces.demInfl,
+ comInfl: spaces.comInfl,
strategy_deck: [],
strategy_discard: [],
@@ -163,8 +164,8 @@ exports.view = function(state, player) {
valid_spaces: game.valid_spaces,
valid_cards: game.valid_cards,
- demInfl: spaces.demInfl,
- comInfl: spaces.comInfl,
+ demInfl: game.demInfl,
+ comInfl: game.comInfl,
turn: game.turn,
round: game.round,
round_player: game.round_player,