Fix copy/paste error.
This commit is contained in:
parent
e0e888f861
commit
712525b8ea
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user