]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix formatting IDE0055 warnings in VS Code (#33669)
authorNikolai Korolev <korolevns98@gmail.com>
Sun, 1 Dec 2024 01:51:26 +0000 (01:51 +0000)
committerGitHub <noreply@github.com>
Sun, 1 Dec 2024 01:51:26 +0000 (12:51 +1100)
Content.Client/Actions/ActionsSystem.cs
Content.Client/Clothing/FlippableClothingVisualizerSystem.cs
Content.Shared/Chemistry/Events/HyposprayEvents.cs

index 7b13233bab5cd5c975fe0e1655d89241afcd6123..b594817701ea69e4fa3272f3d47936e266f00f8a 100644 (file)
@@ -258,13 +258,13 @@ namespace Content.Client.Actions
 
         public void LinkAllActions(ActionsComponent? actions = null)
         {
-             if (_playerManager.LocalEntity is not { } user ||
-                 !Resolve(user, ref actions, false))
-             {
-                 return;
-             }
+            if (_playerManager.LocalEntity is not { } user ||
+                !Resolve(user, ref actions, false))
+            {
+                return;
+            }
 
-             LinkActions?.Invoke(actions);
+            LinkActions?.Invoke(actions);
         }
 
         public override void Shutdown()
index 2c3afb0324fd896a7df50c357ee395b624591975..1f09ae9eebbbd582bff201f68eac5c8a9c97bed2 100644 (file)
@@ -7,7 +7,7 @@ using Robust.Client.GameObjects;
 
 namespace Content.Client.Clothing;
 
-public sealed class FlippableClothingVisualizerSystem  : VisualizerSystem<FlippableClothingVisualsComponent>
+public sealed class FlippableClothingVisualizerSystem : VisualizerSystem<FlippableClothingVisualsComponent>
 {
     [Dependency] private readonly SharedItemSystem _itemSys = default!;
 
index e8ed081a5777b1a9bd37daf921a4683dcda5d5dc..33293a40498d4b097e9854b35ad0b1958774c2da 100644 (file)
@@ -32,7 +32,7 @@ public sealed class SelfBeforeHyposprayInjectsEvent : BeforeHyposprayInjectsTarg
 ///     This event is raised on the target before the hypospray is injected.
 ///     The event is triggered on the target itself and all its clothing.
 /// </summary>
-public sealed class TargetBeforeHyposprayInjectsEvent  : BeforeHyposprayInjectsTargetEvent
+public sealed class TargetBeforeHyposprayInjectsEvent : BeforeHyposprayInjectsTargetEvent
 {
-    public TargetBeforeHyposprayInjectsEvent (EntityUid user, EntityUid hypospray, EntityUid target) : base(user, hypospray, target) { }
+    public TargetBeforeHyposprayInjectsEvent(EntityUid user, EntityUid hypospray, EntityUid target) : base(user, hypospray, target) { }
 }