Make it easy to write options file.

This commit is contained in:
Lyle Mantooth 2022-06-04 10:00:06 -04:00
parent 034af7fa92
commit 4cbc70eeca
Signed by: IslandUsurper
GPG key ID: 6DB52EAE123A5789

View file

@ -366,7 +366,7 @@ impl TryFrom<u8> for BeeLevel {
} }
#[derive(Debug, Deserialize, Serialize)] #[derive(Debug, Deserialize, Serialize)]
#[serde(rename_all = "PascalCase")] #[serde(default, rename_all = "PascalCase")]
pub struct OptionFlags { pub struct OptionFlags {
pub randomize_enemies: bool, pub randomize_enemies: bool,
pub randomize_enemies_type: RandomizeEnemiesType, pub randomize_enemies_type: RandomizeEnemiesType,