From 34b10aaca44c36030654dbcaa33a53b31dd58fa3 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Wed, 18 May 2022 10:27:42 -0500 Subject: [PATCH] Divide, not multiply. --- src/sound.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound.rs b/src/sound.rs index 1cff0c0..6f3ef96 100644 --- a/src/sound.rs +++ b/src/sound.rs @@ -250,7 +250,7 @@ fn sound_icon_exploration_focus_removed( if let Ok(children) = children.get(entity) { for child in children.iter() { if let Ok(mut icon) = query.get_mut(*child) { - icon.gain *= ICON_GAIN; + icon.gain /= ICON_GAIN; } } }