Fix instruments for engine changes, fixes program change bug. (#7365)
This commit is contained in:
committed by
GitHub
parent
a4d55235cc
commit
6e73e94cc6
@@ -23,7 +23,7 @@ public abstract class SharedInstrumentSystem : EntitySystem
|
||||
{
|
||||
args.State =
|
||||
new InstrumentState(instrument.Playing, instrument.InstrumentProgram, instrument.InstrumentBank,
|
||||
instrument.AllowPercussion, instrument.AllowProgramChange, instrument.RespectMidiLimits, instrument.LastSequencerTick);
|
||||
instrument.AllowPercussion, instrument.AllowProgramChange, instrument.RespectMidiLimits);
|
||||
}
|
||||
|
||||
private void OnHandleState(EntityUid uid, SharedInstrumentComponent instrument, ref ComponentHandleState args)
|
||||
|
||||
Reference in New Issue
Block a user