Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -58,7 +58,7 @@ public sealed partial class AdminVerbSystem
|
||||
|
||||
private void AddTricksVerbs(GetVerbsEvent<Verb> args)
|
||||
{
|
||||
if (!EntityManager.TryGetComponent(args.User, out ActorComponent? actor))
|
||||
if (!TryComp(args.User, out ActorComponent? actor))
|
||||
return;
|
||||
|
||||
var player = actor.PlayerSession;
|
||||
|
||||
Reference in New Issue
Block a user