mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
the pro ops Co-authored-by: deltanedas <@deltanedas:kde.org> (cherry picked from commit 984cd643fe8e7d1930bddb641750548280539983)
20 lines
448 B
C#
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;
|
|
}
|
|
}
|