From 39d749fb0570b81486222fb402f4de54d5b221c3 Mon Sep 17 00:00:00 2001 From: CaYpeN1 Date: Sat, 23 Mar 2024 16:27:23 +0500 Subject: [PATCH] fix atmos holoprojector --- Content.Server/Holosign/HolosignSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/Holosign/HolosignSystem.cs b/Content.Server/Holosign/HolosignSystem.cs index 33a08c0975..7f0952987f 100644 --- a/Content.Server/Holosign/HolosignSystem.cs +++ b/Content.Server/Holosign/HolosignSystem.cs @@ -4,6 +4,7 @@ using Content.Shared.Coordinates.Helpers; using Content.Shared.Interaction; using Content.Shared.Interaction.Events; using Content.Shared.Popups; +using Content.Shared.Storage; namespace Content.Server.Holosign; @@ -59,7 +60,7 @@ public sealed class HolosignSystem : EntitySystem return; } - if (args.Handled || !args.CanReach) + if (args.Handled || !args.CanReach || HasComp(args.Target)) return; if (component.Signs.Count >= component.Uses) // wd edit