Files
Delta-v/Content.Shared/Smoking/Systems/SharedMatchstickSystem.cs
T
gluesniffler bf33742d18 Shitmed Update 1 - Forma de Goob (#897)
* full fucking send

* ope forgot to remove the EE scripts

* fix test

* fix shitcode fail

* DELTA THAT VALUE IS NULLABLE

* whoopsie daysie
2024-12-27 16:53:52 +00:00

19 lines
446 B
C#

// Shitmed Change Start
using Content.Shared.Smoking.Components;
namespace Content.Shared.Smoking.Systems;
public abstract class SharedMatchstickSystem : EntitySystem
{
public virtual bool SetState(Entity<MatchstickComponent> ent, SmokableState state)
{
if (ent.Comp.CurrentState == state)
return false;
ent.Comp.CurrentState = state;
Dirty(ent);
return true;
}
}
// Shitmed Change End