Files
wwdpublic/Content.Shared/Temperature/Systems/AlwaysHotSystem.cs
deltanedas fed653e62f light ciggies with fire structures (#23196)
the pro ops

Co-authored-by: deltanedas <@deltanedas:kde.org>
(cherry picked from commit 984cd643fe8e7d1930bddb641750548280539983)
2024-01-23 22:51:55 +01: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;
}
}