Dewarns access (#16666)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -40,7 +40,7 @@ namespace Content.Shared.PDA
|
||||
protected virtual void OnItemInserted(EntityUid uid, PdaComponent pda, EntInsertedIntoContainerMessage args)
|
||||
{
|
||||
if (args.Container.ID == PdaComponent.PdaIdSlotId)
|
||||
pda.ContainedId = CompOrNull<IdCardComponent>(args.Entity);
|
||||
pda.ContainedId = args.Entity;
|
||||
|
||||
UpdatePdaAppearance(uid, pda);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user