]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make ActionsSystem.UpdateAction public (#30056)
authorDrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com>
Sat, 20 Jul 2024 03:03:43 +0000 (20:03 -0700)
committerGitHub <noreply@github.com>
Sat, 20 Jul 2024 03:03:43 +0000 (23:03 -0400)
Content.Client/Actions/ActionsSystem.cs
Content.Shared/Actions/SharedActionsSystem.cs

index aff6c1ff7be6edb00486cd192a482ec3f7d7ab0c..7f261f5df2d2859db540d8788126f1e82b1da2c0 100644 (file)
@@ -107,7 +107,7 @@ namespace Content.Client.Actions
             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;
index ca6bd1dcc2afc5add47a8ff5e95b36ec3d0297af..0033078b1b76c3a5c11fe74852aef5749af2e0c5 100644 (file)
@@ -237,7 +237,7 @@ public abstract class SharedActionsSystem : EntitySystem
     }
 
     #region ComponentStateManagement
-    protected virtual void UpdateAction(EntityUid? actionId, BaseActionComponent? action = null)
+    public virtual void UpdateAction(EntityUid? actionId, BaseActionComponent? action = null)
     {
         // See client-side code.
     }