From 8066eb196be9db81a884c1d5e2f2a01ca5af94db Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Sun, 25 Jul 2021 15:02:58 +0200 Subject: [PATCH] Remove Hotspot Start method. --- .../Atmos/EntitySystems/AtmosphereSystem.Hotspot.cs | 5 +++-- Content.Server/Atmos/Hotspot.cs | 6 ------ Content.Shared/Atmos/Atmospherics.cs | 1 + 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Content.Server/Atmos/EntitySystems/AtmosphereSystem.Hotspot.cs b/Content.Server/Atmos/EntitySystems/AtmosphereSystem.Hotspot.cs index 1fbb4f0c7d..03052e17df 100644 --- a/Content.Server/Atmos/EntitySystems/AtmosphereSystem.Hotspot.cs +++ b/Content.Server/Atmos/EntitySystems/AtmosphereSystem.Hotspot.cs @@ -108,10 +108,11 @@ namespace Content.Server.Atmos.EntitySystems { Volume = exposedVolume * 25f, Temperature = exposedTemperature, - SkippedFirstProcess = tile.CurrentCycle > gridAtmosphere.UpdateCounter + SkippedFirstProcess = tile.CurrentCycle > gridAtmosphere.UpdateCounter, + Valid = true, + State = 1 }; - tile.Hotspot.Start(); AddActiveTile(gridAtmosphere, tile); gridAtmosphere.HotspotTiles.Add(tile); diff --git a/Content.Server/Atmos/Hotspot.cs b/Content.Server/Atmos/Hotspot.cs index 4597813c6f..36d24c03b3 100644 --- a/Content.Server/Atmos/Hotspot.cs +++ b/Content.Server/Atmos/Hotspot.cs @@ -24,11 +24,5 @@ namespace Content.Server.Atmos /// [ViewVariables] public byte State; - - public void Start() - { - Valid = true; - State = 1; - } } } diff --git a/Content.Shared/Atmos/Atmospherics.cs b/Content.Shared/Atmos/Atmospherics.cs index b2736ebf68..53d34fa40c 100644 --- a/Content.Shared/Atmos/Atmospherics.cs +++ b/Content.Shared/Atmos/Atmospherics.cs @@ -1,6 +1,7 @@ using Robust.Shared.Maths; using Robust.Shared.Serialization; using System; +// ReSharper disable InconsistentNaming namespace Content.Shared.Atmos {