Improve "give AA ID".

Renamed to "grant full access" (same as in SS13).

Now tries to upgrade an ID the user has equipped and automatically equips if necessary.
This commit is contained in:
Pieter-Jan Briers
2020-09-29 16:05:29 +02:00
parent f287f46944
commit 1b691264f3
3 changed files with 64 additions and 8 deletions

View File

@@ -216,7 +216,7 @@ namespace Content.Server.GameObjects.Components.PDA
UpdatePDAUserInterface();
}
private void InsertIdCard(IdCardComponent card)
public void InsertIdCard(IdCardComponent card)
{
_idSlot.Insert(card.Owner);
ContainedID = card;