Make it easy to write options file.
This commit is contained in:
parent
034af7fa92
commit
4cbc70eeca
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue