light ciggies with fire structures (#23196)

the pro ops

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas
2024-01-01 08:10:48 +00:00
committed by GitHub
parent e443a204b1
commit 984cd643fe
4 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
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;
}
}