Skip to content

Commit 755601d

Browse files
committed
Don't create kick lanes since they don't exist in pre-RB4 midi
1 parent 86db7d3 commit 755601d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibForge/LibForge/Midi/RBMidConverter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ bool AddGem(MidiNote e)
427427
return false;
428428
}
429429

430-
if (diff == 3 && rolls.Count > 0 && rolls[rolls.Count - 1].EndTick > e.StartTicks)
430+
if (diff == 3 && rolls.Count > 0 && rolls[rolls.Count - 1].EndTick > e.StartTicks && lane != 0 /* MT: don't emit kick lanes */)
431431
{
432432
var tmp = rolls[rolls.Count - 1];
433433
tmp.Lanes |= 1 << lane;

0 commit comments

Comments
 (0)