diff options
author | Daniel Schadt <kingdread@gmx.de> | 2018-06-10 12:24:37 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2018-06-10 12:24:37 +0200 |
commit | fd4379f99ce6ed205f582a270d6a9995c51ede4e (patch) | |
tree | 4c3bb2c50f2dccd6c41fd3bc4a9bca1f92f82d33 /src/statistics/mod.rs | |
parent | 812a3d3d42aea4b1f53bfa47982fd35a070a4612 (diff) | |
download | evtclib-fd4379f99ce6ed205f582a270d6a9995c51ede4e.tar.gz evtclib-fd4379f99ce6ed205f582a270d6a9995c51ede4e.tar.bz2 evtclib-fd4379f99ce6ed205f582a270d6a9995c51ede4e.zip |
use multiplexer for boon tracker
Diffstat (limited to 'src/statistics/mod.rs')
-rw-r--r-- | src/statistics/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/statistics/mod.rs b/src/statistics/mod.rs index 7f465ae..1dd48f7 100644 --- a/src/statistics/mod.rs +++ b/src/statistics/mod.rs @@ -103,7 +103,8 @@ pub fn calculate(log: &Log) -> StatResult<Statistics> { let mut damage_tracker = trackers::DamageTracker::new(log); let mut log_start_tracker = trackers::LogStartTracker::new(); let mut combat_time_tracker = trackers::CombatTimeTracker::new(); - let mut boon_tracker = trackers::BoonTracker::new(); + let mut boon_tracker = + trackers::Multiplexer::multiplex_on_destination(|dest| trackers::BoonTracker::new(dest)); run_trackers( log, |