From b99170f0c7b0585bb97791fe2f2436ea39d7ada5 Mon Sep 17 00:00:00 2001 From: LiHaotian123 <191870086@smail.nju.edu.cn> Date: Mon, 13 May 2024 21:29:03 +0800 Subject: [PATCH] fix error cause by "inflation" --- .../src/src/sr1_parse/data_structure/ship.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/dr_game/Difficult_Rocket_rs/src/src/sr1_parse/data_structure/ship.rs b/mods/dr_game/Difficult_Rocket_rs/src/src/sr1_parse/data_structure/ship.rs index 3233e6a..58befe2 100644 --- a/mods/dr_game/Difficult_Rocket_rs/src/src/sr1_parse/data_structure/ship.rs +++ b/mods/dr_game/Difficult_Rocket_rs/src/src/sr1_parse/data_structure/ship.rs @@ -83,9 +83,9 @@ pub struct Part { pub chute_height: Option, #[serde(rename = "@extension")] pub extension: Option, - #[serde(rename = "@inflation")] + #[serde(rename = "@inflate")] pub inflate: Option, - #[serde(rename = "@inflationTarget")] + #[serde(rename = "@inflation")] pub inflation: Option, #[serde(rename = "@deployed")] pub exploded: Option,