Inline UID
This commit is contained in:
@@ -57,7 +57,7 @@ namespace Content.Server.Research.Components
|
||||
|
||||
void IActivate.Activate(ActivateEventArgs eventArgs)
|
||||
{
|
||||
if (!IoCManager.Resolve<IEntityManager>().TryGetComponent(eventArgs.User.Uid, out ActorComponent? actor))
|
||||
if (!IoCManager.Resolve<IEntityManager>().TryGetComponent(eventArgs.User, out ActorComponent? actor))
|
||||
return;
|
||||
|
||||
OpenUserInterface(actor.PlayerSession);
|
||||
|
||||
Reference in New Issue
Block a user