Improved DMG list

This commit is contained in:
Wiktor Mazur
2019-10-23 22:55:48 +02:00
parent 97f8250045
commit 9a73ad9b86
8 changed files with 130 additions and 67 deletions
+2 -2
View File
@@ -282,9 +282,9 @@ impl OverallStats for Meter {
impl GameStats for Meter {
fn reset_stats(&mut self) -> Option<()> {
self.zone_history = PlayerStatisticsVec::new();
self.zone_session = None;
let last_session = self.zone_session_mut()?;
self.zone_session = Some(Session::from(&last_session));
self.last_fight_session = Session::new();
self.main_player_id = None;
Some(())
}