Fix a bunch of warnings (#5058)
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Content.Server.Chemistry.Components
|
||||
public class FoamSolutionAreaEffectComponent : SolutionAreaEffectComponent
|
||||
{
|
||||
public override string Name => "FoamSolutionAreaEffect";
|
||||
public static string SolutionName = "foam";
|
||||
public new const string SolutionName = "foam";
|
||||
|
||||
[DataField("foamedMetalPrototype")] private string? _foamedMetalPrototype;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.Server.Chemistry.Components
|
||||
public class SmokeSolutionAreaEffectComponent : SolutionAreaEffectComponent
|
||||
{
|
||||
public override string Name => "SmokeSolutionAreaEffect";
|
||||
public const string SolutionName = "smoke";
|
||||
public new const string SolutionName = "smoke";
|
||||
|
||||
protected override void UpdateVisuals()
|
||||
{
|
||||
|
||||
@@ -427,7 +427,7 @@ namespace Content.Server.Interaction
|
||||
/// </summary>
|
||||
public async Task<bool> InteractUsingRanged(IEntity user, IEntity used, IEntity? target, EntityCoordinates clickLocation, bool inRangeUnobstructed)
|
||||
{
|
||||
if (await InteractDoBefore(user, used, inRangeUnobstructed ? target : null, clickLocation, false))
|
||||
if (InteractDoBefore(user, used, inRangeUnobstructed ? target : null, clickLocation, false))
|
||||
return true;
|
||||
|
||||
if (target != null)
|
||||
|
||||
Reference in New Issue
Block a user