mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Fix oopsie
This commit is contained in:
@@ -186,7 +186,7 @@ namespace Content.Server.Carrying
|
||||
var targetParent = Transform(args.Target.Value).ParentUid;
|
||||
|
||||
if (args.Target.Value != component.Carrier && targetParent != component.Carrier && targetParent != uid)
|
||||
args.Cancel();
|
||||
args.Cancelled = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -220,7 +220,7 @@ namespace Content.Server.Carrying
|
||||
private void OnInteractedWith(EntityUid uid, BeingCarriedComponent component, GettingInteractedWithAttemptEvent args)
|
||||
{
|
||||
if (args.Uid != component.Carrier)
|
||||
args.Cancel();
|
||||
args.Cancelled = true;
|
||||
}
|
||||
|
||||
private void OnPullAttempt(EntityUid uid, BeingCarriedComponent component, PullAttemptEvent args)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Content.Shared.Interaction.Events;
|
||||
|
||||
namespace Content.Shared.Interaction
|
||||
namespace Content.Shared.Nyanotrasen.Interaction
|
||||
{
|
||||
public sealed class NoNormalInteractionSystem : EntitySystem
|
||||
{
|
||||
@@ -12,7 +12,7 @@ namespace Content.Shared.Interaction
|
||||
|
||||
private void OnInteractionAttempt(EntityUid uid, NoNormalInteractionComponent component, InteractionAttemptEvent args)
|
||||
{
|
||||
args.Cancel();
|
||||
args.Cancelled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ public abstract partial class SharedPseudoItemSystem : EntitySystem
|
||||
private void OnInteractAttempt(EntityUid uid, PseudoItemComponent component, InteractionAttemptEvent args)
|
||||
{
|
||||
if (args.Uid == args.Target && component.Active)
|
||||
args.Cancel();
|
||||
args.Cancelled = true;
|
||||
}
|
||||
|
||||
private void OnDoAfter(EntityUid uid, PseudoItemComponent component, DoAfterEvent args)
|
||||
|
||||
Reference in New Issue
Block a user