diff --git a/Content.Shared/Foldable/FoldableSystem.cs b/Content.Shared/Foldable/FoldableSystem.cs index 3ece56720a..3ba4201e79 100644 --- a/Content.Shared/Foldable/FoldableSystem.cs +++ b/Content.Shared/Foldable/FoldableSystem.cs @@ -9,6 +9,7 @@ using Robust.Shared.Utility; namespace Content.Shared.Foldable; +// TODO: This system could arguably be refactored into a general state system, as it is being utilized for a lot of different objects with various needs. public sealed class FoldableSystem : EntitySystem { [Dependency] private readonly SharedAppearanceSystem _appearance = default!; @@ -24,7 +25,6 @@ public sealed class FoldableSystem : EntitySystem SubscribeLocalEvent(OnFoldableInit); SubscribeLocalEvent(OnInsertEvent); - SubscribeLocalEvent(OnStoreThisAttempt); SubscribeLocalEvent(OnFoldableOpenAttempt); SubscribeLocalEvent(OnStrapAttempt); @@ -46,12 +46,6 @@ public sealed class FoldableSystem : EntitySystem args.Cancelled = true; } - public void OnStoreThisAttempt(EntityUid uid, FoldableComponent comp, ref InsertIntoEntityStorageAttemptEvent args) - { - if (comp.IsFolded) - args.Cancelled = true; - } - public void OnStrapAttempt(EntityUid uid, FoldableComponent comp, ref StrapAttemptEvent args) { if (comp.IsFolded)