Skip to content

Commit

Permalink
Fixed the timing to disable the slide effect
Browse files Browse the repository at this point in the history
  • Loading branch information
kitao committed Mar 19, 2024
1 parent d84e2e8 commit 33a0e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/pyxel-engine/src/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 33a0e42

Please sign in to comment.