Files
tbd-station-14/Content.Shared/Temperature/Systems/AlwaysHotSystem.cs
deltanedas 984cd643fe light ciggies with fire structures (#23196)
the pro ops

Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-01-01 00:10:48 -08:00

20 lines
448 B
C#

using Content.Shared.Temperature;
using Content.Shared.Temperature.Components;
namespace Content.Shared.Temperature.Systems;
public sealed class AlwaysHotSystem : EntitySystem
{
public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<AlwaysHotComponent, IsHotEvent>(OnIsHot);
}
private void OnIsHot(Entity<AlwaysHotComponent> ent, ref IsHotEvent args)
{
args.IsHot = true;
}
}