Remove instruments compref (#19560)

This commit is contained in:
metalgearsloth
2023-09-12 14:43:06 +10:00
committed by GitHub
parent f05f94fdc0
commit fd60d39bc7
7 changed files with 94 additions and 27 deletions

View File

@@ -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;