From 05d29c8479b508c9b258e8ca20f93778a9f465c6 Mon Sep 17 00:00:00 2001 From: Mervill Date: Mon, 2 Sep 2024 04:02:16 -0700 Subject: [PATCH] Fix CS0642 - Possible mistaken empty statement (#31740) --- Content.Server/Atmos/EntitySystems/GasTankSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Atmos/EntitySystems/GasTankSystem.cs b/Content.Server/Atmos/EntitySystems/GasTankSystem.cs index 2d703439c0..8c5cded0f1 100644 --- a/Content.Server/Atmos/EntitySystems/GasTankSystem.cs +++ b/Content.Server/Atmos/EntitySystems/GasTankSystem.cs @@ -106,7 +106,7 @@ namespace Content.Server.Atmos.EntitySystems private void OnExamined(EntityUid uid, GasTankComponent component, ExaminedEvent args) { - using(args.PushGroup(nameof(GasTankComponent))); + using var _ = args.PushGroup(nameof(GasTankComponent)); if (args.IsInDetailsRange) args.PushMarkup(Loc.GetString("comp-gas-tank-examine", ("pressure", Math.Round(component.Air?.Pressure ?? 0)))); if (component.IsConnected) @@ -348,7 +348,7 @@ namespace Content.Server.Atmos.EntitySystems if (component.Integrity <= 0) { var environment = _atmosphereSystem.GetContainingMixture(owner, false, true); - if(environment != null) + if (environment != null) _atmosphereSystem.Merge(environment, component.Air); _audioSys.PlayPvs(component.RuptureSound, Transform(owner).Coordinates, AudioParams.Default.WithVariation(0.125f)); -- 2.51.2