Migrate Lathe Material Ejection Code to MaterialStorage (#23199)
* SS14-23184 Migrate Lathe Material Ejection Code to MaterialStorage The lathe material ejection code acts as a do-nothing man-in-the-middle system that does work that would be reasonable for any MaterialStorage-using machine to use. This has been fixed by migrating the ejection code to MaterialStorage, allowing anything that uses the system to eject mats it is storing. * Fix some YAML references. Science!!
This commit is contained in:
committed by
GitHub
parent
ec82a05df9
commit
f850047341
@@ -1,4 +1,5 @@
|
||||
using Content.Shared.Lathe;
|
||||
using Content.Shared.Materials;
|
||||
using Content.Shared.Research.Components;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Client.GameObjects;
|
||||
@@ -34,7 +35,7 @@ namespace Content.Client.Lathe.UI
|
||||
|
||||
_menu.OnEjectPressed += (material, sheetsToExtract) =>
|
||||
{
|
||||
SendMessage(new LatheEjectMaterialMessage(material, sheetsToExtract));
|
||||
SendMessage(new EjectMaterialMessage(material, sheetsToExtract));
|
||||
};
|
||||
|
||||
_menu.OpenCentered();
|
||||
|
||||
Reference in New Issue
Block a user