Minor atmos optimisations (#6625)

This commit is contained in:
metalgearsloth
2022-02-20 17:43:20 +11:00
committed by GitHub
parent 5b53b69191
commit 07b38e5acd
9 changed files with 172 additions and 112 deletions

View File

@@ -1,14 +1,13 @@
using Robust.Shared.GameObjects;
namespace Content.Server.Atmos
namespace Content.Server.Atmos
{
/// <summary>
/// Event raised directed to an entity when it is standing on a tile that's on fire.
/// </summary>
public sealed class TileFireEvent : EntityEventArgs
[ByRefEvent]
public readonly struct TileFireEvent
{
public float Temperature { get; }
public float Volume { get; }
public readonly float Temperature;
public readonly float Volume;
public TileFireEvent(float temperature, float volume)
{