mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/block/mod.rs')
| -rw-r--r-- | src/block/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/block/mod.rs b/src/block/mod.rs index 5efb269..6916c3d 100644 --- a/src/block/mod.rs +++ b/src/block/mod.rs @@ -258,10 +258,10 @@ impl Rotation { match self { - Self::Right => if clockwise {Self::Up} else {Self::Down}, - Self::Up => if clockwise {Self::Left} else {Self::Right}, - Self::Left => if clockwise {Self::Down} else {Self::Up}, - Self::Down => if clockwise {Self::Right} else {Self::Left}, + Self::Right => if clockwise {Self::Down} else {Self::Up}, + Self::Up => if clockwise {Self::Right} else {Self::Left}, + Self::Left => if clockwise {Self::Up} else {Self::Down}, + Self::Down => if clockwise {Self::Left} else {Self::Right}, } } |