Use ActorComponent instead of IActorComponent or BasicActorComponent. (#3966)
This commit is contained in:
committed by
GitHub
parent
3319dc0599
commit
462cddf860
@@ -156,9 +156,9 @@ namespace Content.Server.GameObjects.Components.Doors
|
||||
bool IDoorCheck.BlockActivate(ActivateEventArgs eventArgs)
|
||||
{
|
||||
if (_wiresComponent != null && _wiresComponent.IsPanelOpen &&
|
||||
eventArgs.User.TryGetComponent(out IActorComponent? actor))
|
||||
eventArgs.User.TryGetComponent(out ActorComponent? actor))
|
||||
{
|
||||
_wiresComponent.OpenInterface(actor.playerSession);
|
||||
_wiresComponent.OpenInterface(actor.PlayerSession);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user