From 712525b8eae15ee41cc586ee6b7d36ae1ffce9ac Mon Sep 17 00:00:00 2001 From: yukirij Date: Sun, 24 Nov 2024 14:18:22 -0800 Subject: [PATCH] Fix copy/paste error. --- www/js/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }