Solution rejig (#12428)

This commit is contained in:
Leon Friedrich
2023-01-12 16:41:40 +13:00
committed by GitHub
parent 38504f6412
commit 466384b081
61 changed files with 873 additions and 619 deletions

View File

@@ -87,7 +87,7 @@ namespace Content.Server.Kitchen.EntitySystems
if (TryComp<StackComponent>(item, out var stack))
{
var totalVolume = solution.TotalVolume * stack.Count;
var totalVolume = solution.Volume * stack.Count;
if (totalVolume <= 0)
continue;
@@ -102,7 +102,7 @@ namespace Content.Server.Kitchen.EntitySystems
}
else
{
if (solution.TotalVolume > containerSolution.AvailableVolume)
if (solution.Volume > containerSolution.AvailableVolume)
continue;
QueueDel(item);