Fixes for the recycler and related things (#12703)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Content.Server.Recycling.Components
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
[DataField("enabled")]
|
||||
public bool Enabled = true;
|
||||
public bool Enabled;
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not sentient beings will be recycled
|
||||
@@ -27,14 +27,6 @@ namespace Content.Server.Recycling.Components
|
||||
[DataField("efficiency")]
|
||||
internal float Efficiency = 0.25f;
|
||||
|
||||
private void Clean()
|
||||
{
|
||||
if (_entMan.TryGetComponent(Owner, out AppearanceComponent? appearance))
|
||||
{
|
||||
appearance.SetData(RecyclerVisuals.Bloody, false);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Default sound to play when recycling
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user