Skip to content

Commit 1a12974

Browse files
committed
Merge branch 'develop' of https://github.com/leka/ios-monorepo into develop
2 parents c0f4118 + e0a7173 commit 1a12974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/GameEngineKit/Sources/Exercises/Specialized/DanceFreeze/DanceFreezeView+PlayerView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extension DanceFreezeView {
5050
func randomSwitch() {
5151
if case .completed = self.viewModel.exercicesSharedData.state { return }
5252
if self.viewModel.progress < 1.0 {
53-
let rand = Double.random(in: 2..<10)
53+
let rand = Double.random(in: 1..<(self.viewModel.isDancing ? 10 : 3))
5454

5555
DispatchQueue.main.asyncAfter(deadline: .now() + rand) {
5656
if case .completed = self.viewModel.exercicesSharedData.state { return }

0 commit comments

Comments
 (0)