Fix instruments for engine changes, fixes program change bug. (#7365)
This commit is contained in:
committed by
GitHub
parent
a4d55235cc
commit
6e73e94cc6
@@ -25,6 +25,9 @@ public sealed class InstrumentComponent : SharedInstrumentComponent
|
||||
[ViewVariables]
|
||||
public int MidiEventCount = 0;
|
||||
|
||||
[ViewVariables]
|
||||
public uint LastSequencerTick = 0;
|
||||
|
||||
// TODO Instruments: Make this ECS
|
||||
public IPlayerSession? InstrumentPlayer =>
|
||||
_entMan.GetComponentOrNull<ActivatableUIComponent>(Owner)?.CurrentSingleUser
|
||||
|
||||
Reference in New Issue
Block a user