Skip to content

Commit

Permalink
replace method deprecated in UE5
Browse files Browse the repository at this point in the history
  • Loading branch information
MothDoctor committed Sep 28, 2021
1 parent 6013d68 commit 24ce1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Flow/Private/Nodes/FlowNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ void UFlowNode::LogError(FString Message, const EFlowOnScreenMessageType OnScree
{
OutText = FText::FromString(Message);
OutColor = FLinearColor::Red;
return !IsPendingKill() && ActivationState != EFlowNodeState::NeverActivated;
return IsValid(this) && ActivationState != EFlowNodeState::NeverActivated;
});
}
}
Expand Down

0 comments on commit 24ce1b0

Please sign in to comment.