remove a bunch of instances of component reference (#13164)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Content.Client.Interactable;
|
||||
using Content.Client.Movement.Components;
|
||||
using Content.Shared.Climbing;
|
||||
using Content.Shared.DragDrop;
|
||||
using Robust.Shared.GameStates;
|
||||
@@ -18,14 +17,14 @@ public sealed class ClimbSystem : SharedClimbSystem
|
||||
|
||||
private static void OnClimbingState(EntityUid uid, ClimbingComponent component, ref ComponentHandleState args)
|
||||
{
|
||||
if (args.Current is not SharedClimbingComponent.ClimbModeComponentState climbModeState)
|
||||
if (args.Current is not ClimbingComponent.ClimbModeComponentState climbModeState)
|
||||
return;
|
||||
|
||||
component.IsClimbing = climbModeState.Climbing;
|
||||
component.OwnerIsTransitioning = climbModeState.IsTransitioning;
|
||||
}
|
||||
|
||||
protected override void OnCanDragDropOn(EntityUid uid, SharedClimbableComponent component, CanDragDropOnEvent args)
|
||||
protected override void OnCanDragDropOn(EntityUid uid, ClimbableComponent component, CanDragDropOnEvent args)
|
||||
{
|
||||
base.OnCanDragDropOn(uid, component, args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user