diff --git a/enemize/src/option_flags.rs b/enemize/src/option_flags.rs index 259f160..a8d2fd9 100644 --- a/enemize/src/option_flags.rs +++ b/enemize/src/option_flags.rs @@ -366,7 +366,7 @@ impl TryFrom for BeeLevel { } #[derive(Debug, Deserialize, Serialize)] -#[serde(rename_all = "PascalCase")] +#[serde(default, rename_all = "PascalCase")] pub struct OptionFlags { pub randomize_enemies: bool, pub randomize_enemies_type: RandomizeEnemiesType,