diff options
| author | Mike White <botahamec@outlook.com> | 2021-08-26 16:42:24 -0400 |
|---|---|---|
| committer | Mike White <botahamec@outlook.com> | 2021-08-26 16:42:24 -0400 |
| commit | 68014734561c3a8d8712916bdfa58b8347131501 (patch) | |
| tree | b5cc4760fcccedf63c0ac130074e22f55b2cf724 /model | |
| parent | 174c3cc5bf97eda465d1f2d6211046abf167abd8 (diff) | |
Fixed bug
Diffstat (limited to 'model')
| -rw-r--r-- | model/src/coordinates.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/src/coordinates.rs b/model/src/coordinates.rs index 34dcdcf..a055f46 100644 --- a/model/src/coordinates.rs +++ b/model/src/coordinates.rs @@ -72,7 +72,7 @@ impl SquareCoordinate { 7 => 1, _ => unreachable!(), }; - let row_value = match self.file { + let row_value = match self.rank { 1 => 0, 3 => 8, 5 => 16, |
