diff --git a/src/actor.rs b/src/actor.rs index 80b04a4..9e35787 100644 --- a/src/actor.rs +++ b/src/actor.rs @@ -446,13 +446,6 @@ fn handle_player_death( duration: 4.0, }); } - DamageType::Trauma => { - ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::WakeUp)); - ew_effect.send(effects::SpawnEffectEvent { - class: effects::Effects::FadeIn(Color::MAROON), - duration: 1.0, - }); - } DamageType::Asphyxiation => { ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::WakeUp)); ew_effect.send(effects::SpawnEffectEvent { @@ -460,7 +453,12 @@ fn handle_player_death( duration: 1.0, }); } - _ => { + DamageType::Trauma | _ => { + ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::WakeUp)); + ew_effect.send(effects::SpawnEffectEvent { + class: effects::Effects::FadeIn(Color::MAROON), + duration: 1.0, + }); } }