Fix formatting IDE0055 warnings in VS Code (#33669)

This commit is contained in:
Nikolai Korolev
2024-12-01 01:51:26 +00:00
committed by GitHub
parent 3984f0aa0a
commit 2d405c9652
3 changed files with 9 additions and 9 deletions

View File

@@ -258,13 +258,13 @@ namespace Content.Client.Actions
public void LinkAllActions(ActionsComponent? actions = null) public void LinkAllActions(ActionsComponent? actions = null)
{ {
if (_playerManager.LocalEntity is not { } user || if (_playerManager.LocalEntity is not { } user ||
!Resolve(user, ref actions, false)) !Resolve(user, ref actions, false))
{ {
return; return;
} }
LinkActions?.Invoke(actions); LinkActions?.Invoke(actions);
} }
public override void Shutdown() public override void Shutdown()

View File

@@ -7,7 +7,7 @@ using Robust.Client.GameObjects;
namespace Content.Client.Clothing; namespace Content.Client.Clothing;
public sealed class FlippableClothingVisualizerSystem : VisualizerSystem<FlippableClothingVisualsComponent> public sealed class FlippableClothingVisualizerSystem : VisualizerSystem<FlippableClothingVisualsComponent>
{ {
[Dependency] private readonly SharedItemSystem _itemSys = default!; [Dependency] private readonly SharedItemSystem _itemSys = default!;

View File

@@ -32,7 +32,7 @@ public sealed class SelfBeforeHyposprayInjectsEvent : BeforeHyposprayInjectsTarg
/// This event is raised on the target before the hypospray is injected. /// This event is raised on the target before the hypospray is injected.
/// The event is triggered on the target itself and all its clothing. /// The event is triggered on the target itself and all its clothing.
/// </summary> /// </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) { }
} }