spessasynth_core 4.0.4 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3340,8 +3340,8 @@ var BasicMIDI2 = class _BasicMIDI {
3340
3340
  switch (e.statusByte) {
3341
3341
  case midiMessageTypes.endOfTrack:
3342
3342
  if (i !== track.events.length - 1) {
3343
- i--;
3344
3343
  track.deleteEvent(i);
3344
+ i--;
3345
3345
  SpessaSynthWarn("Unexpected EndOfTrack. Removing!");
3346
3346
  }
3347
3347
  break;