Skip to content

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

Merged
MothDoctor merged 1 commit into
MothCocoon:5.xfrom
fede-Raider:5.x
Jul 9, 2026
Merged

MothDoctor merged 1 commit into
MothCocoon:5.xfrom
fede-Raider:5.x

Conversation

@fede-Raider

Copy link
Copy Markdown
Contributor

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
@MothDoctor MothDoctor self-assigned this Jul 9, 2026
@MothDoctor
MothDoctor merged commit 14bc348 into MothCocoon:5.x Jul 9, 2026
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.

2 participants