From 33a0e42b7335eba555610b36b548f22818ad4e21 Mon Sep 17 00:00:00 2001 From: Takashi Kitao Date: Wed, 20 Mar 2024 00:09:37 +0900 Subject: [PATCH] Fixed the timing to disable the slide effect --- rust/pyxel-engine/src/channel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/pyxel-engine/src/channel.rs b/rust/pyxel-engine/src/channel.rs index ca16902706..bdffb7ab9c 100644 --- a/rust/pyxel-engine/src/channel.rs +++ b/rust/pyxel-engine/src/channel.rs @@ -104,7 +104,7 @@ impl Channel { self.note_index += 1; } while self.note_index >= sound.notes.len() as u32 { - self.is_first_note = false; + self.is_first_note = true; self.sound_index += 1; self.note_index = 0; if self.sound_index >= self.sounds.len() as u32 {