mindustry logic execution, map- and schematic- parsing and rendering
read base before single
bendn 2023-07-21
parent e3c2577 · commit 8ab814c
-rw-r--r--Cargo.toml2
-rw-r--r--src/data/renderer.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index d138c00..87c9c3a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "mindus"
-version = "1.3.0"
+version = "1.3.1"
edition = "2021"
description = "A library for working with mindustry data formats (eg schematics) (fork of plandustry)"
authors = [
diff --git a/src/data/renderer.rs b/src/data/renderer.rs
index ecbbf85..5290584 100644
--- a/src/data/renderer.rs
+++ b/src/data/renderer.rs
@@ -127,7 +127,7 @@ fn load_zip() {
}
pub const TOP: &str = "-top";
const SUFFIXES: &[&str; 9] = &[
- "-bottom", "-mid", "", "-base", "-left", "-right", TOP, "-over", "-team",
+ "-bottom", "-mid", "-base", "", "-left", "-right", TOP, "-over", "-team",
];
pub(crate) fn read<S>(category: &str, name: &str, size: S) -> RgbaImage
where