Use ActorComponent instead of IActorComponent or BasicActorComponent. (#3966)

This commit is contained in:
Vera Aguilera Puerto
2021-05-12 13:42:18 +02:00
committed by GitHub
parent 3319dc0599
commit 462cddf860
65 changed files with 220 additions and 220 deletions

View File

@@ -49,12 +49,12 @@ namespace Content.Server.GameObjects.EntitySystems
private void HandleActivate(EntityUid uid, CloningPodComponent component, ActivateInWorldMessage args)
{
if (!component.Powered ||
!args.User.TryGetComponent(out IActorComponent? actor))
!args.User.TryGetComponent(out ActorComponent? actor))
{
return;
}
component.UserInterface?.Open(actor.playerSession);
component.UserInterface?.Open(actor.PlayerSession);
}
private void HandleMindAdded(EntityUid uid, BeingClonedComponent component, MindAddedMessage message)