mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-04 13:27:30 +00:00
* full fucking send * ope forgot to remove the EE scripts * fix test * fix shitcode fail * DELTA THAT VALUE IS NULLABLE * whoopsie daysie
19 lines
446 B
C#
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
|