fix atmos holoprojector

This commit is contained in:
CaYpeN1
2024-03-23 16:27:23 +05:00
parent 91b6dd8b62
commit 39d749fb05

View File

@@ -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<StorageComponent>(args.Target))
return;
if (component.Signs.Count >= component.Uses) // wd edit