Update relative coords of pieces so that algorithm works with one field #1
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
The offset of some pieces are so, that iterating over the fields in order does not work.
We use this line to work around that:
for empty_coord in &field.empty_coords.as_slice()[0..2] {
Note that it takes two coords. This should not be necessary if the offsets are correct.