Skip to content

Commit

Permalink
Play Level Sequence: fixed 'Pause at End' option. (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
twevs authored and MothDoctor committed May 16, 2023
1 parent 8b6c610 commit c24486f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,10 @@ void UFlowNode_PlayLevelSequence::Cleanup()
{
SequencePlayer->SetFlowEventReceiver(nullptr);
SequencePlayer->OnFinished.RemoveAll(this);
SequencePlayer->Stop();
if (!PlaybackSettings.bPauseAtEnd)
{
SequencePlayer->Stop();
}
SequencePlayer = nullptr;
}

Expand Down

0 comments on commit c24486f

Please sign in to comment.