Fix master (#15256)
This commit is contained in:
@@ -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!;
|
||||
|
||||
/// <inheritdoc/>
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
@@ -84,12 +84,6 @@ public sealed class MaterialReclaimerComponent : Component
|
||||
[DataField("solutionContainerId"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public string SolutionContainerId = "output";
|
||||
|
||||
/// <summary>
|
||||
/// The prototype for the puddle
|
||||
/// </summary>
|
||||
[DataField("puddleId", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>)), ViewVariables(VVAccess.ReadWrite)]
|
||||
public string PuddleId = "PuddleSmear";
|
||||
|
||||
/// <summary>
|
||||
/// The solution itself.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user