Reset the volume each time a new sound is played

This commit is contained in:
Gwilym Inzani 2023-07-17 01:21:33 +01:00
parent 07b00f11e1
commit 515bcb13ca

View file

@ -144,7 +144,8 @@ impl TrackerChannel {
.restart_point(sample.restart_point);
}
self.channel_id = mixer.play_sound(new_channel)
self.channel_id = mixer.play_sound(new_channel);
self.volume = 1.into();
}
fn apply_effect(