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