diff --git a/Vocaluxe/Base/CGame.cs b/Vocaluxe/Base/CGame.cs index 672ac815..58bc9c2d 100644 --- a/Vocaluxe/Base/CGame.cs +++ b/Vocaluxe/Base/CGame.cs @@ -247,7 +247,7 @@ namespace Vocaluxe.Base CNote[] notes = lines[line].Notes; int note = lines[line].FindPreviousNote(beat); - if (notes[note].EndBeat < beat) + if (note >= 0 && notes[note].EndBeat < beat) note = -1; if (note >= 0)