mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 08:37:26 +00:00
* Finish decoupling material ejection from lathes
* commented
(cherry picked from commit 2b01899d63)
13 lines
416 B
C#
13 lines
416 B
C#
using Content.Shared.Materials;
|
|
using Robust.Client.UserInterface.Controllers;
|
|
|
|
namespace Content.Client.Materials.UI;
|
|
|
|
public sealed class MaterialStorageUIController : UIController
|
|
{
|
|
public void SendLatheEjectMessage(EntityUid uid, string material, int sheetsToEject)
|
|
{
|
|
EntityManager.RaisePredictiveEvent(new EjectMaterialMessage(EntityManager.GetNetEntity(uid), material, sheetsToEject));
|
|
}
|
|
}
|