diff --git a/Content.Server/Materials/MaterialReclaimerSystem.cs b/Content.Server/Materials/MaterialReclaimerSystem.cs index 80c4a40bb6..e46e82de02 100644 --- a/Content.Server/Materials/MaterialReclaimerSystem.cs +++ b/Content.Server/Materials/MaterialReclaimerSystem.cs @@ -32,7 +32,7 @@ public sealed class MaterialReclaimerSystem : SharedMaterialReclaimerSystem [Dependency] private readonly PopupSystem _popup = default!; [Dependency] private readonly SolutionContainerSystem _solutionContainer = default!; [Dependency] private readonly SharedBodySystem _body = default!; //bobby - [Dependency] private readonly SpillableSystem _spillable = default!; + [Dependency] private readonly PuddleSystem _puddle = default!; [Dependency] private readonly StackSystem _stack = default!; /// @@ -255,7 +255,7 @@ public sealed class MaterialReclaimerSystem : SharedMaterialReclaimerSystem if (overflow.Volume > 0) { - _spillable.SpillAt(reclaimer, overflow, reclaimerComponent.PuddleId, transformComponent: xform); + _puddle.TrySpillAt(reclaimer, overflow, out _, transformComponent: xform); } } } diff --git a/Content.Server/Spreader/SpreaderSystem.cs b/Content.Server/Spreader/SpreaderSystem.cs index 03b3e45596..c827487441 100644 --- a/Content.Server/Spreader/SpreaderSystem.cs +++ b/Content.Server/Spreader/SpreaderSystem.cs @@ -157,10 +157,7 @@ public sealed class SpreaderSystem : EntitySystem // of an edge so we'll let them handle it. if (!groupUpdates.TryGetValue(node.NodeGroup, out var updates)) { - var spreadEv = new SpreadGroupUpdateRate() - { - Name = node.Name, - }; + var spreadEv = new SpreadGroupUpdateRate(node.Name); RaiseLocalEvent(ref spreadEv); updates = (int) (spreadEv.UpdatesPerSecond * SpreadCooldown / TimeSpan.FromSeconds(1)); } diff --git a/Content.Shared/Materials/MaterialReclaimerComponent.cs b/Content.Shared/Materials/MaterialReclaimerComponent.cs index aaaa656f65..283ade2cd9 100644 --- a/Content.Shared/Materials/MaterialReclaimerComponent.cs +++ b/Content.Shared/Materials/MaterialReclaimerComponent.cs @@ -84,12 +84,6 @@ public sealed class MaterialReclaimerComponent : Component [DataField("solutionContainerId"), ViewVariables(VVAccess.ReadWrite)] public string SolutionContainerId = "output"; - /// - /// The prototype for the puddle - /// - [DataField("puddleId", customTypeSerializer: typeof(PrototypeIdSerializer)), ViewVariables(VVAccess.ReadWrite)] - public string PuddleId = "PuddleSmear"; - /// /// The solution itself. ///