From fdf860d64fff9fc7fdadc00848b81211e083d323 Mon Sep 17 00:00:00 2001 From: Cojoke <83733158+Cojoke-dot@users.noreply.github.com> Date: Wed, 7 May 2025 19:47:03 -0500 Subject: [PATCH] Small InventorySystem.Equip Unequip Reason bugfix (#37265) Fix small bug --- Content.Shared/Inventory/InventorySystem.Equip.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Inventory/InventorySystem.Equip.cs b/Content.Shared/Inventory/InventorySystem.Equip.cs index 4988fd96be..5271e22542 100644 --- a/Content.Shared/Inventory/InventorySystem.Equip.cs +++ b/Content.Shared/Inventory/InventorySystem.Equip.cs @@ -547,7 +547,7 @@ public abstract partial class InventorySystem RaiseLocalEvent(itemUid, itemAttemptEvent, true); if (itemAttemptEvent.Cancelled) { - reason = attemptEvent.Reason ?? reason; + reason = itemAttemptEvent.Reason ?? reason; return false; } -- 2.51.2