diff --git a/src/game.rs b/src/game.rs index 12d480f..63fbdfe 100644 --- a/src/game.rs +++ b/src/game.rs @@ -369,7 +369,8 @@ fn handle_player_death( }); } actor::DamageType::Bullet => { - settings.death_cause = "Traumatic brain injury due to a projectile wound.".to_string(); + settings.death_cause = + "Traumatic brain injury due to a projectile wound.".to_string(); ew_effect.send(visual::SpawnEffectEvent { class: visual::Effects::FadeIn(css::MAROON.into()), duration: 1.0, @@ -623,7 +624,10 @@ fn handle_achievement_event( } AchievementEvent::RaceScore => { if !tracker.race_score { - ew_game.send(GameEvent::Achievement(format!("Score {} Points In SkyRace", RACE_SCORE_ACHIEVEMENT))); + ew_game.send(GameEvent::Achievement(format!( + "Score {} Points In SkyRace", + RACE_SCORE_ACHIEVEMENT + ))); } tracker.race_score = true; } diff --git a/src/var.rs b/src/var.rs index 70eaed9..807cebd 100644 --- a/src/var.rs +++ b/src/var.rs @@ -437,10 +437,7 @@ impl AchievementTracker { format!("Talk To Everyone{talk}\n"), "Find Earth\n".to_string(), "Enter Jupiter's Shadow\n".to_string(), - format!( - "Score {} Points In SkyRace\n", - game::RACE_SCORE_ACHIEVEMENT - ), + format!("Score {} Points In SkyRace\n", game::RACE_SCORE_ACHIEVEMENT), ] } pub fn to_overview(&self) -> Vec<(bool, String)> { @@ -453,10 +450,7 @@ impl AchievementTracker { (self.in_jupiters_shadow, "enter Jupiter's shadow".into()), ( self.race_score, - format!( - "score {} points in SkyRace", - game::RACE_SCORE_ACHIEVEMENT - ), + format!("score {} points in SkyRace", game::RACE_SCORE_ACHIEVEMENT), ), ] }