Removes linter warnings from the PDA module (#17097)
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Content.Shared.PDA
|
||||
public abstract class SharedPDASystem : EntitySystem
|
||||
{
|
||||
[Dependency] protected readonly ItemSlotsSystem ItemSlotsSystem = default!;
|
||||
[Dependency] protected readonly SharedAppearanceSystem _appearance = default!;
|
||||
[Dependency] protected readonly SharedAppearanceSystem Appearance = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
@@ -55,8 +55,7 @@ namespace Content.Shared.PDA
|
||||
|
||||
private void UpdatePdaAppearance(EntityUid uid, PDAComponent pda)
|
||||
{
|
||||
if (TryComp(pda.Owner, out AppearanceComponent ? appearance))
|
||||
_appearance.SetData(uid, PDAVisuals.IDCardInserted, pda.ContainedID != null, appearance);
|
||||
Appearance.SetData(uid, PDAVisuals.IDCardInserted, pda.ContainedID != null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user