Fixing some warnings (#6250)

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
This commit is contained in:
wrexbe
2022-01-21 01:38:35 -08:00
committed by GitHub
parent 29b22e2871
commit cea1b21832
191 changed files with 341 additions and 340 deletions

View File

@@ -53,7 +53,7 @@ namespace Content.Server.DoAfter
if (eventArgs.NeedHand && entityManager.TryGetComponent(eventArgs.User, out HandsComponent? handsComponent))
{
_activeHand = handsComponent.ActiveHand;
_activeItem = handsComponent.GetActiveHand;
_activeItem = handsComponent.GetActiveHandItem;
}
Tcs = new TaskCompletionSource<DoAfterStatus>();
@@ -157,7 +157,7 @@ namespace Content.Server.DoAfter
return true;
}
var currentItem = handsComponent.GetActiveHand;
var currentItem = handsComponent.GetActiveHandItem;
if (_activeItem != currentItem)
{
return true;