ChemMaster/Chemistry Dispenser constructability, fixed edition (#5125)
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
using Content.Shared.Verbs;
|
||||
using Content.Server.Chemistry.Components;
|
||||
using Content.Server.Chemistry.Components.SolutionManager;
|
||||
using Content.Server.Construction.Components;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Content.Shared.ActionBlocker;
|
||||
@@ -57,12 +59,6 @@ namespace Content.Server.Chemistry.EntitySystems
|
||||
!_actionBlockerSystem.CanDrop(args.User))
|
||||
return;
|
||||
|
||||
if (!args.Using.HasComponent<FitsInDispenserComponent>() ||
|
||||
!_solutionContainerSystem.TryGetSolution(args.Using.Uid, "beaker", out _))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Verb verb = new();
|
||||
verb.Act = () =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user