Remove Hotspot Start method.

This commit is contained in:
Vera Aguilera Puerto
2021-07-25 15:02:58 +02:00
parent 10af8efc0e
commit 8066eb196b
3 changed files with 4 additions and 8 deletions

View File

@@ -108,10 +108,11 @@ namespace Content.Server.Atmos.EntitySystems
{ {
Volume = exposedVolume * 25f, Volume = exposedVolume * 25f,
Temperature = exposedTemperature, Temperature = exposedTemperature,
SkippedFirstProcess = tile.CurrentCycle > gridAtmosphere.UpdateCounter SkippedFirstProcess = tile.CurrentCycle > gridAtmosphere.UpdateCounter,
Valid = true,
State = 1
}; };
tile.Hotspot.Start();
AddActiveTile(gridAtmosphere, tile); AddActiveTile(gridAtmosphere, tile);
gridAtmosphere.HotspotTiles.Add(tile); gridAtmosphere.HotspotTiles.Add(tile);

View File

@@ -24,11 +24,5 @@ namespace Content.Server.Atmos
/// </summary> /// </summary>
[ViewVariables] [ViewVariables]
public byte State; public byte State;
public void Start()
{
Valid = true;
State = 1;
}
} }
} }

View File

@@ -1,6 +1,7 @@
using Robust.Shared.Maths; using Robust.Shared.Maths;
using Robust.Shared.Serialization; using Robust.Shared.Serialization;
using System; using System;
// ReSharper disable InconsistentNaming
namespace Content.Shared.Atmos namespace Content.Shared.Atmos
{ {