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:
@@ -73,6 +73,16 @@ public sealed partial class LatheMenu : DefaultWindow
|
||||
MaterialsList.SetOwner(Entity);
|
||||
}
|
||||
|
||||
protected override void Opened()
|
||||
{
|
||||
base.Opened();
|
||||
|
||||
if (_entityManager.TryGetComponent<LatheComponent>(Entity, out var latheComp))
|
||||
{
|
||||
AmountLineEdit.SetText(latheComp.DefaultProductionAmount.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Populates the list of all the recipes
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user