Action stuff (#31305)
* Action stuff - Cleanup some event stuff - Avoid dirtying entity unnecessarily - Add ActionGrant as an easy way to apply / remove actions via compregistry. * Fix merge
This commit is contained in:
@@ -36,8 +36,6 @@ public sealed class NPCUseActionOnTargetSystem : EntitySystem
|
||||
|
||||
if (action.Event != null)
|
||||
{
|
||||
action.Event.Performer = user;
|
||||
action.Event.Action = user.Comp.ActionEnt.Value;
|
||||
action.Event.Coords = Transform(target).Coordinates;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user