fix piece ordering
This commit is contained in:
parent
111b2f7125
commit
547e00ec09
|
@ -362,7 +362,7 @@ func init(pieces_order: Array, hidden_piece: int) -> void:
|
||||||
# eg. 1 2 3
|
# eg. 1 2 3
|
||||||
# 4 5 6
|
# 4 5 6
|
||||||
# 7 8 9
|
# 7 8 9
|
||||||
piece.order = pieces_order[r + c * rows]
|
piece.order = pieces_order[c + r * columns]
|
||||||
# print("piece at ", c, ", ", r, " -> order: ", piece.order)
|
# print("piece at ", c, ", ", r, " -> order: ", piece.order)
|
||||||
|
|
||||||
# place inside the taquin as indices (i, j)
|
# place inside the taquin as indices (i, j)
|
||||||
|
|
Loading…
Reference in a new issue