using Content.Shared.Construction.Components;
using Content.Shared.Explosion;
using Content.Shared.Eye;
+using Content.Shared.Interaction.Components;
using Content.Shared.Interaction.Events;
using Content.Shared.Maps;
using Content.Shared.Popups;
private void OnInteractionAttempt(EntityUid uid, SubFloorHideComponent component, ref GettingInteractedWithAttemptEvent args)
{
+ // Allow admins (e.g., mappers/aghosts) to twiddle with stuff under subfloors
+ if (HasComp<BypassInteractionChecksComponent>(args.Uid))
+ return;
+
// No interactions with entities hidden under floor tiles.
if (component.BlockInteractions && component.IsUnderCover)
args.Cancelled = true;