Skip to content

Commit 2b4eb6a

Browse files
committed
feat(replays): add damage received and distance traveled
1 parent b84306b commit 2b4eb6a

File tree

3 files changed

+195
-82
lines changed

3 files changed

+195
-82
lines changed

src/app.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,12 @@ pub struct ReplaySettings {
227227
pub show_floods: bool,
228228
#[serde(default = "default_bool::<true>")]
229229
pub show_citadels: bool,
230-
#[serde(default = "default_bool::<true>")]
230+
#[serde(default = "default_bool::<false>")]
231231
pub show_crits: bool,
232+
#[serde(default = "default_bool::<true>")]
233+
pub show_received_damage: bool,
234+
#[serde(default = "default_bool::<true>")]
235+
pub show_distance_traveled: bool,
232236
}
233237

234238
impl Default for ReplaySettings {
@@ -241,7 +245,9 @@ impl Default for ReplaySettings {
241245
show_fires: true,
242246
show_floods: true,
243247
show_citadels: true,
244-
show_crits: true,
248+
show_crits: false,
249+
show_received_damage: true,
250+
show_distance_traveled: true,
245251
}
246252
}
247253
}

0 commit comments

Comments
 (0)