Divide, not multiply.
This commit is contained in:
parent
615af720cb
commit
34b10aaca4
|
@ -250,7 +250,7 @@ fn sound_icon_exploration_focus_removed(
|
||||||
if let Ok(children) = children.get(entity) {
|
if let Ok(children) = children.get(entity) {
|
||||||
for child in children.iter() {
|
for child in children.iter() {
|
||||||
if let Ok(mut icon) = query.get_mut(*child) {
|
if let Ok(mut icon) = query.get_mut(*child) {
|
||||||
icon.gain *= ICON_GAIN;
|
icon.gain /= ICON_GAIN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user