Fix copy/paste error.

This commit is contained in:
yukirij 2024-11-24 14:18:22 -08:00
parent e0e888f861
commit 712525b8ea

View File

@ -646,7 +646,7 @@ GAME.Game = class {
// Check all tiles if not blocking. // Check all tiles if not blocking.
if(block_directions == 0) { if(block_directions == 0) {
for(let i = 0; i < GAME_DATA.board.tiles.length; ++i) { 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)); tiles.push(new GAME.MovementTile(i, true, false, 0, 0));
} }
} }