Disable warnings that would be refactored anyway (#5047)
This commit is contained in:
@@ -25,7 +25,9 @@ using System.Threading.Tasks;
|
||||
namespace Content.Server.Nutrition.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
#pragma warning disable 618
|
||||
public class DrinkComponent : Component, IUse, IAfterInteract, IExamine
|
||||
#pragma warning restore 618
|
||||
{
|
||||
[DataField("solution")]
|
||||
public string SolutionName { get; set; } = DefaultSolutionName;
|
||||
|
||||
@@ -19,7 +19,9 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.Nutrition.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
#pragma warning disable 618
|
||||
class SliceableFoodComponent : Component, IInteractUsing, IExamine
|
||||
#pragma warning restore 618
|
||||
{
|
||||
public override string Name => "SliceableFood";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user