From: Mervill Date: Mon, 2 Sep 2024 11:02:16 +0000 (-0700) Subject: Fix CS0642 - Possible mistaken empty statement (#31740) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=05d29c8479b508c9b258e8ca20f93778a9f465c6;p=space-station-14.git Fix CS0642 - Possible mistaken empty statement (#31740) --- 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));