Fix component generic usages where IComponent would not be valid (#19482)
This commit is contained in:
@@ -124,7 +124,7 @@ namespace Content.Server.Tabletop
|
||||
if (!args.CanAccess || !args.CanInteract)
|
||||
return;
|
||||
|
||||
if (!EntityManager.TryGetComponent<ActorComponent?>(args.User, out var actor))
|
||||
if (!EntityManager.TryGetComponent(args.User, out ActorComponent? actor))
|
||||
return;
|
||||
|
||||
var playVerb = new ActivationVerb()
|
||||
|
||||
Reference in New Issue
Block a user