Fix material storage going BRRT (#29167)
If the volume hits 0 we just remove it.
This commit is contained in:
@@ -78,9 +78,6 @@ public sealed partial class LatheMenu : DefaultWindow
|
||||
/// </summary>
|
||||
public void PopulateRecipes()
|
||||
{
|
||||
if (!_entityManager.TryGetComponent<LatheComponent>(_owner, out var component))
|
||||
return;
|
||||
|
||||
var recipesToShow = new List<LatheRecipePrototype>();
|
||||
foreach (var recipe in Recipes)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user