mustHaveAlivePlant: false (#5831)
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Content.Server.Chemistry.ReagentEffects.PlantMetabolism
|
|||||||
{
|
{
|
||||||
public override void Effect(ReagentEffectArgs args)
|
public override void Effect(ReagentEffectArgs args)
|
||||||
{
|
{
|
||||||
if (!CanMetabolize(args.SolutionEntity, out var plantHolderComp, args.EntityManager))
|
if (!CanMetabolize(args.SolutionEntity, out var plantHolderComp, args.EntityManager, mustHaveAlivePlant: false))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
plantHolderComp.AdjustNutrient(Amount);
|
plantHolderComp.AdjustNutrient(Amount);
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ namespace Content.Server.Chemistry.ReagentEffects.PlantMetabolism
|
|||||||
{
|
{
|
||||||
public override void Effect(ReagentEffectArgs args)
|
public override void Effect(ReagentEffectArgs args)
|
||||||
{
|
{
|
||||||
if (!CanMetabolize(args.SolutionEntity, out var plantHolderComp, args.EntityManager))
|
if (!CanMetabolize(args.SolutionEntity, out var plantHolderComp, args.EntityManager, mustHaveAlivePlant: false))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
plantHolderComp.AdjustWater(Amount);
|
plantHolderComp.AdjustWater(Amount);
|
||||||
|
|||||||
Reference in New Issue
Block a user