Skip to content

Commit

Permalink
Make ActionsSystem.UpdateAction public
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSmugleaf committed Jul 15, 2024
1 parent b7d3964 commit cdf96a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Content.Client/Actions/ActionsSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private void BaseHandleState<T>(EntityUid uid, BaseActionComponent component, Ba
UpdateAction(uid, component);
}

protected override void UpdateAction(EntityUid? actionId, BaseActionComponent? action = null)
public override void UpdateAction(EntityUid? actionId, BaseActionComponent? action = null)
{
if (!ResolveActionData(actionId, ref action))
return;
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Actions/SharedActionsSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ private void OnRejuventate(EntityUid uid, ActionsComponent component, Rejuvenate
}

#region ComponentStateManagement
protected virtual void UpdateAction(EntityUid? actionId, BaseActionComponent? action = null)
public virtual void UpdateAction(EntityUid? actionId, BaseActionComponent? action = null)
{
// See client-side code.
}
Expand Down

0 comments on commit cdf96a7

Please sign in to comment.