(rebase this), pawn no longer prints "must attack"
This commit is contained in:
parent
27314b008d
commit
f381c51566
1 changed files with 0 additions and 1 deletions
1
Main.gd
1
Main.gd
|
@ -533,7 +533,6 @@ func make_tiles(coords, pattern, go_range, cant_attack, curr_team,
|
||||||
spawn_move_tile([x + a, y + b], dict.get("tile_is_en_passant"), dict.get("en_passant_pawn"), dict.get("castling_rook"))
|
spawn_move_tile([x + a, y + b], dict.get("tile_is_en_passant"), dict.get("en_passant_pawn"), dict.get("castling_rook"))
|
||||||
made_tile.push_back([x + a, y + b])
|
made_tile.push_back([x + a, y + b])
|
||||||
elif dict.get("must_attack"): # pawn setting
|
elif dict.get("must_attack"): # pawn setting
|
||||||
print("must attack...")
|
|
||||||
if check and check.get_team() != curr_team:
|
if check and check.get_team() != curr_team:
|
||||||
if create_tiles:
|
if create_tiles:
|
||||||
spawn_move_tile([x + a, y + b])
|
spawn_move_tile([x + a, y + b])
|
||||||
|
|
Loading…
Reference in a new issue