Fix component constraints (#20241)

This commit is contained in:
metalgearsloth
2023-09-27 21:59:12 +02:00
committed by Debug
parent f0bd8eec25
commit d084dd2efb
15 changed files with 19 additions and 19 deletions
@@ -44,7 +44,7 @@ namespace Content.Server.Construction
// TODO: If something has a stack... Just use a prototype with a single thing in the stack.
// This is not a good way to do it.
if (TryComp<StackComponent?>(droppedEnt, out var stack))
if (TryComp<StackComponent>(droppedEnt, out var stack))
_stackSystem.SetCount(droppedEnt, 1, stack);
}
}