From dee4d724e7a7980fc18d5479ab0e9a754100133c Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Tue, 12 Apr 2022 01:59:10 +1200 Subject: [PATCH] Fix action interaction checks (#7502) --- Content.Server/Guardian/GuardianHostComponent.cs | 1 + Content.Server/Speech/Components/VocalComponent.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Content.Server/Guardian/GuardianHostComponent.cs b/Content.Server/Guardian/GuardianHostComponent.cs index dfd108d523..2897606265 100644 --- a/Content.Server/Guardian/GuardianHostComponent.cs +++ b/Content.Server/Guardian/GuardianHostComponent.cs @@ -31,6 +31,7 @@ namespace Content.Server.Guardian Description = "action-description-guardian", Icon = new SpriteSpecifier.Texture(new ResourcePath("Interface/Actions/manifest.png")), UseDelay = TimeSpan.FromSeconds(2), + CheckCanInteract = false, // allow use while stunned, etc. Gets removed on death anyways. Event = new GuardianToggleActionEvent(), }; } diff --git a/Content.Server/Speech/Components/VocalComponent.cs b/Content.Server/Speech/Components/VocalComponent.cs index 634a2aca10..b1ea181d7b 100644 --- a/Content.Server/Speech/Components/VocalComponent.cs +++ b/Content.Server/Speech/Components/VocalComponent.cs @@ -36,6 +36,7 @@ public sealed class VocalComponent : Component Name = "action-name-scream", Description = "AAAAAAAAAAAAAAAAAAAAAAAAA", Event = new ScreamActionEvent(), + CheckCanInteract = false, // system checks a speech related action blocker. }; }