Fix plant metabolism. (#5775)
This commit is contained in:
@@ -124,8 +124,9 @@ namespace Content.Shared.Chemistry.Reagent
|
|||||||
var entity = args.SolutionEntity;
|
var entity = args.SolutionEntity;
|
||||||
EntitySystem.Get<SharedAdminLogSystem>().Add(LogType.ReagentEffect, plantMetabolizable.LogImpact,
|
EntitySystem.Get<SharedAdminLogSystem>().Add(LogType.ReagentEffect, plantMetabolizable.LogImpact,
|
||||||
$"Plant metabolism effect {plantMetabolizable.GetType().Name:effect} of reagent {ID:reagent} applied on entity {entMan.ToPrettyString(entity):entity} at {entMan.GetComponent<TransformComponent>(entity).Coordinates:coordinates}");
|
$"Plant metabolism effect {plantMetabolizable.GetType().Name:effect} of reagent {ID:reagent} applied on entity {entMan.ToPrettyString(entity):entity} at {entMan.GetComponent<TransformComponent>(entity).Coordinates:coordinates}");
|
||||||
plantMetabolizable.Effect(args);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plantMetabolizable.Effect(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user