Use item status extension method (#23884)
Just removes some lines of code.
This commit is contained in:
committed by
GitHub
parent
e2dd30f640
commit
e665c2487e
@@ -1,7 +1,6 @@
|
||||
using Content.Client.Fluids.UI;
|
||||
using Content.Client.Items;
|
||||
using Content.Shared.Fluids;
|
||||
using Robust.Client.UserInterface;
|
||||
|
||||
namespace Content.Client.Fluids;
|
||||
|
||||
@@ -11,11 +10,6 @@ public sealed class AbsorbentSystem : SharedAbsorbentSystem
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
Subs.ItemStatus<AbsorbentComponent>(GetAbsorbent);
|
||||
}
|
||||
|
||||
private Control GetAbsorbent(EntityUid arg)
|
||||
{
|
||||
return new AbsorbentItemStatus(arg, EntityManager);
|
||||
Subs.ItemStatus<AbsorbentComponent>(ent => new AbsorbentItemStatus(ent, EntityManager));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user