Skip to content

UFlowNode_ComponentObserver: fix SuccessCount persistence on save during Success flow#386

Open
fede-Raider wants to merge 1 commit into
MothCocoon:5.xfrom
fede-Raider:5.x
Open

UFlowNode_ComponentObserver: fix SuccessCount persistence on save during Success flow#386
fede-Raider wants to merge 1 commit into
MothCocoon:5.xfrom
fede-Raider:5.x

Conversation

@fede-Raider

Copy link
Copy Markdown

Moved SuccessCount increment before TriggerFirstOutput in OnEventReceived, so that if a save is triggered during the Success output flow, the count is already up-to-date at serialization time.

In OnLoad_Implementation, added a SuccessLimit check before calling StartObserving: if the node has already reached its limit, it triggers the Completed output directly instead of re-registering as an observer.

UFlowNode_ComponentObserver: fix SuccessCount persistence on save during Success flow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant