diff --git a/src/halley/versions/common/config.rs b/src/halley/versions/common/config.rs index d7101da..127e2c2 100644 --- a/src/halley/versions/common/config.rs +++ b/src/halley/versions/common/config.rs @@ -58,15 +58,15 @@ pub enum ConfigNode { Int64(i64), EntityId(i64), + //#[serde(untagged)] //TODO: set untagged when https://github.com/dtolnay/serde-yaml/issues/361 is fixed + Sequence(Vec), + #[serde(untagged)] + Map(ConfigNodeMap), #[serde(untagged)] Int(i32), #[serde(untagged)] Float(f32), #[serde(untagged)] - Sequence(Vec), - #[serde(untagged)] - Map(ConfigNodeMap), - #[serde(untagged)] String(String), #[serde(untagged)] Bool(bool),