From 2d405c965295009ddfce1b939c5ac2451f23e773 Mon Sep 17 00:00:00 2001 From: Nikolai Korolev Date: Sun, 1 Dec 2024 01:51:26 +0000 Subject: [PATCH] Fix formatting IDE0055 warnings in VS Code (#33669) --- Content.Client/Actions/ActionsSystem.cs | 12 ++++++------ .../Clothing/FlippableClothingVisualizerSystem.cs | 2 +- Content.Shared/Chemistry/Events/HyposprayEvents.cs | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Content.Client/Actions/ActionsSystem.cs b/Content.Client/Actions/ActionsSystem.cs index 7b13233bab..b594817701 100644 --- a/Content.Client/Actions/ActionsSystem.cs +++ b/Content.Client/Actions/ActionsSystem.cs @@ -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() diff --git a/Content.Client/Clothing/FlippableClothingVisualizerSystem.cs b/Content.Client/Clothing/FlippableClothingVisualizerSystem.cs index 2c3afb0324..1f09ae9eeb 100644 --- a/Content.Client/Clothing/FlippableClothingVisualizerSystem.cs +++ b/Content.Client/Clothing/FlippableClothingVisualizerSystem.cs @@ -7,7 +7,7 @@ using Robust.Client.GameObjects; namespace Content.Client.Clothing; -public sealed class FlippableClothingVisualizerSystem : VisualizerSystem +public sealed class FlippableClothingVisualizerSystem : VisualizerSystem { [Dependency] private readonly SharedItemSystem _itemSys = default!; diff --git a/Content.Shared/Chemistry/Events/HyposprayEvents.cs b/Content.Shared/Chemistry/Events/HyposprayEvents.cs index e8ed081a57..33293a4049 100644 --- a/Content.Shared/Chemistry/Events/HyposprayEvents.cs +++ b/Content.Shared/Chemistry/Events/HyposprayEvents.cs @@ -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. /// -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) { } }