Fix a bunch of compiler warnings (#10518)

This commit is contained in:
Visne
2022-08-14 07:28:34 +02:00
committed by GitHub
parent 19ac6c0573
commit 58769634c7
89 changed files with 92 additions and 48 deletions

View File

@@ -46,7 +46,6 @@ namespace Content.Shared.Interaction
[Dependency] private readonly RotateToFaceSystem _rotateToFaceSystem = default!;
[Dependency] private readonly SharedPopupSystem _popupSystem = default!;
[Dependency] private readonly UseDelaySystem _useDelay = default!;
[Dependency] private readonly SharedPhysicsSystem _physicsSystem = default!;
[Dependency] protected readonly SharedContainerSystem ContainerSystem = default!;
private const CollisionGroup InRangeUnobstructedMask
@@ -607,7 +606,7 @@ namespace Content.Shared.Interaction
/// Finds components with the InteractUsing interface and calls their function
/// NOTE: Does not have an InRangeUnobstructed check
/// </summary>
public async void InteractUsing(
public void InteractUsing(
EntityUid user,
EntityUid used,
EntityUid target,
@@ -636,7 +635,7 @@ namespace Content.Shared.Interaction
/// <summary>
/// Used when clicking on an entity resulted in no other interaction. Used for low-priority interactions.
/// </summary>
public async void InteractDoAfter(EntityUid user, EntityUid used, EntityUid? target, EntityCoordinates clickLocation, bool canReach)
public void InteractDoAfter(EntityUid user, EntityUid used, EntityUid? target, EntityCoordinates clickLocation, bool canReach)
{
if (target is {Valid: false})
target = null;