From fa2e4309cc95356152d8df51591714b385275219 Mon Sep 17 00:00:00 2001 From: Justin Pfeifler Date: Sun, 23 Nov 2025 06:59:09 -0600 Subject: [PATCH] Fix Paper Default Interaction (#41547) * Fix paper default interaction * Remove BeforeUIOpen * Revert "Remove BeforeUIOpen" This reverts commit c0db6c743f7cd07279b8a509317a54925a5f7d27. * Revert "Fix paper default interaction" This reverts commit 7efae70b96fbb5800a0e043b6deca176babe3399. * Trigger UI before Ingestion * Revert "Trigger UI before Ingestion" This reverts commit a642ab40bf5b973d7e5f5b772d578dc2b9a436c1. * Trigger ingestion after ui --- Content.Shared/Nutrition/EntitySystems/IngestionSystem.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Content.Shared/Nutrition/EntitySystems/IngestionSystem.cs b/Content.Shared/Nutrition/EntitySystems/IngestionSystem.cs index 2373b6d9ea..ae10110ebc 100644 --- a/Content.Shared/Nutrition/EntitySystems/IngestionSystem.cs +++ b/Content.Shared/Nutrition/EntitySystems/IngestionSystem.cs @@ -19,6 +19,7 @@ using Content.Shared.Mobs.Systems; using Content.Shared.Nutrition.Components; using Content.Shared.Popups; using Content.Shared.Tools.EntitySystems; +using Content.Shared.UserInterface; using Content.Shared.Verbs; using Content.Shared.Whitelist; using Robust.Shared.Audio.Systems; @@ -68,8 +69,8 @@ public sealed partial class IngestionSystem : EntitySystem SubscribeLocalEvent(OnEdibleInit); // Interactions - SubscribeLocalEvent(OnUseEdibleInHand, after: new[] { typeof(OpenableSystem), typeof(InventorySystem) }); - SubscribeLocalEvent(OnEdibleInteract, after: new[] { typeof(ToolOpenableSystem) }); + SubscribeLocalEvent(OnUseEdibleInHand, after: [typeof(OpenableSystem), typeof(InventorySystem), typeof(ActivatableUISystem)]); + SubscribeLocalEvent(OnEdibleInteract, after: [typeof(ToolOpenableSystem)]); // Generic Eating Handlers SubscribeLocalEvent(OnBeforeIngested);