Code cleanup: Dirty(Comp) (#26238)
* Replaced uses of Dirty(Component) with Dirty(Uid, Component) Modified some systems (notably pulling-related) to use uids. * Missed a few * Revert changes to pulling * No
This commit is contained in:
@@ -18,6 +18,6 @@ public sealed class RandomInstrumentArtifactSystem : EntitySystem
|
||||
private void OnStartup(EntityUid uid, RandomInstrumentArtifactComponent component, ComponentStartup args)
|
||||
{
|
||||
var instrument = EnsureComp<InstrumentComponent>(uid);
|
||||
_instrument.SetInstrumentProgram(instrument, (byte) _random.Next(0, 127), 0);
|
||||
_instrument.SetInstrumentProgram(uid, instrument, (byte) _random.Next(0, 127), 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user