Skip to content

Commit

Permalink
copy-paste fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
MothDoctor committed Sep 2, 2021
1 parent 00d93ce commit a3e54ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Flow/Private/FlowSubsystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ void UFlowSubsystem::UnregisterComponent(UFlowComponent* Component)

void UFlowSubsystem::OnIdentityTagRemoved(UFlowComponent* Component, const FGameplayTag& RemovedTag)
{
FlowComponentRegistry.Emplace(RemovedTag, Component);
FlowComponentRegistry.Remove(RemovedTag, Component);

// broadcast OnComponentUnregistered only if this component isn't present in the registry anymore
if (Component->IdentityTags.Num() > 0)
Expand Down

0 comments on commit a3e54ee

Please sign in to comment.