diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2434,9 +2434,9 @@ 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)
+ console.log('adj_space_id', adj_space_id)
if (adj_space_id) {
+ console.log('checking adjacent space', spaces[adj_space_id].name_unique)
const adj_piece = game.pieces.find(p => p && p.space_id === adj_space_id);
console.log('adjacent piece', adj_piece)
// Check if the adjacent space is controlled by the opponent
|