summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-21 11:42:23 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-21 11:42:23 +0100
commitf0c03596bbcbe6476a0b9b08e90c951c6d61335d (patch)
tree1b7959a08be26dc90a7b1f20f2570c79fbd98a7d /rules.js
parente32507d61c04ab4a9f4332dcd7bde84ced8a15b6 (diff)
download1989-dawn-of-freedom-f0c03596bbcbe6476a0b9b08e90c951c6d61335d.tar.gz
Additional debug steps
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 00cad71..9d2d908 100644
--- a/rules.js
+++ b/rules.js
@@ -2434,6 +2434,7 @@ function valid_spaces_infl() {
// Check adjacency information
for (let adj_space_id of piece.adjacent) {
+ console.log('adj_space_id', adj_space_id)
console.log('checking adjacent space', spaces[adj_space_id].name_unique)
if (adj_space_id) {
const adj_piece = game.pieces.find(p => p && p.space_id === adj_space_id);