Skip to content

Commit

Permalink
Remove unnecessary notify
Browse files Browse the repository at this point in the history
  • Loading branch information
lucoiso committed Mar 27, 2023
1 parent 487fff8 commit 9f8a880
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,6 @@ void UElementusInventoryComponent::DiscardItems_Implementation(const TArray<FEle
}

UpdateElementusItems(Items, EElementusInventoryUpdateOperation::Remove);
NotifyInventoryChange();
}

void UElementusInventoryComponent::AddItems_Implementation(const TArray<FElementusItemInfo>& Items)
Expand All @@ -482,7 +481,6 @@ void UElementusInventoryComponent::AddItems_Implementation(const TArray<FElement
}

UpdateElementusItems(Items, EElementusInventoryUpdateOperation::Add);
NotifyInventoryChange();
}

void UElementusInventoryComponent::UpdateElementusItems(const TArray<FElementusItemInfo>& Modifiers, const EElementusInventoryUpdateOperation Operation)
Expand Down

0 comments on commit 9f8a880

Please sign in to comment.