Small InventorySystem.Equip Unequip Reason bugfix (#37265)
Fix small bug
This commit is contained in:
parent
d56191fa33
commit
b1aa0eb0d1
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue