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 May 16, 2023
1 parent 766131c commit 04d2996
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 04d2996

Please sign in to comment.