aboutsummaryrefslogtreecommitdiff
path: root/src/output
diff options
context:
space:
mode:
Diffstat (limited to 'src/output')
-rw-r--r--src/output/formats.rs2
-rw-r--r--src/output/sorting.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/output/formats.rs b/src/output/formats.rs
index 560963b..7225da2 100644
--- a/src/output/formats.rs
+++ b/src/output/formats.rs
@@ -42,7 +42,7 @@ impl Format for HumanReadable {
.with_timezone(&Local)
.format("%Y-%m-%d %H:%M:%S %a"),
"Boss".green(),
- item.boss
+ item.encounter
.map(|x| x.to_string())
.unwrap_or_else(|| "unknown".into()),
if item.is_cm { " CM" } else { "" },
diff --git a/src/output/sorting.rs b/src/output/sorting.rs
index 2a0821c..628a1a8 100644
--- a/src/output/sorting.rs
+++ b/src/output/sorting.rs
@@ -68,7 +68,7 @@ impl Display for Component {
}
fn boss_id(log: &LogResult) -> u32 {
- log.boss.map(|x| x as u32).unwrap_or(0)
+ log.encounter.map(|x| x as u32).unwrap_or(0)
}
impl Component {