Make printing from ore procecssors slightly more bearable (#31074)
* Make printing from ore procecssors slightly more bearable * Update sheet.yml
This commit is contained in:
@@ -223,6 +223,9 @@ namespace Content.Shared.Stacks
|
||||
foreach (var otherStack in intersecting)
|
||||
{
|
||||
var otherEnt = otherStack.Owner;
|
||||
// if you merge a ton of stacks together, you will end up deleting a few by accident.
|
||||
if (TerminatingOrDeleted(otherEnt) || EntityManager.IsQueuedForDeletion(otherEnt))
|
||||
continue;
|
||||
|
||||
if (!TryMergeStacks(uid, otherEnt, out _, stack, otherStack))
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user