diff --git a/www/js/game.js b/www/js/game.js index 01b8362..a9dcd0a 100644 --- a/www/js/game.js +++ b/www/js/game.js @@ -646,7 +646,7 @@ GAME.Game = class { // Check all tiles if not blocking. if(block_directions == 0) { for(let i = 0; i < GAME_DATA.board.tiles.length; ++i) { - if(this.placable_tile(piece, tile_id, {check:false, extent:false})) { + if(this.placable_tile(piece, i, {check:false, extent:false})) { tiles.push(new GAME.MovementTile(i, true, false, 0, 0)); } }