Remove instruments compref (#19560)

This commit is contained in:
metalgearsloth
2023-09-27 21:59:12 +02:00
committed by Debug
parent aa059ab024
commit 61d6d225e0
7 changed files with 94 additions and 27 deletions
@@ -22,7 +22,7 @@ public sealed class SwappableInstrumentSystem : EntitySystem
if (!args.CanInteract || !args.CanAccess || component.InstrumentList.Count <= 1)
return;
if (!TryComp<SharedInstrumentComponent>(uid, out var instrument))
if (!TryComp<InstrumentComponent>(uid, out var instrument))
return;
var priority = 0;