Allow changing instrument style while playing them (#9946)
* Properly dirty changes when calling "SetInstrumentProgram" method * Allow using swappable instrument verbs even while playing the instrument. It's funnier this way
This commit is contained in:
committed by
GitHub
parent
16a08a60d0
commit
cb5f051be5
@@ -25,9 +25,6 @@ public sealed class SwappableInstrumentSystem : EntitySystem
|
||||
if (!TryComp<SharedInstrumentComponent>(uid, out var instrument))
|
||||
return;
|
||||
|
||||
if (instrument.Playing) //no changing while playing
|
||||
return;
|
||||
|
||||
var priority = 0;
|
||||
foreach (var entry in component.InstrumentList)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user