Skip to content

Commit

Permalink
Make ActionsSystem.UpdateAction public (space-wizards#30056)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSmugleaf authored and themias committed Aug 9, 2024
1 parent 34b776d commit 8ef784c
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 @@ -237,7 +237,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 8ef784c

Please sign in to comment.