diff --git a/Sources/GameCore/CubeSceneViewState.swift b/Sources/GameCore/CubeSceneViewState.swift index ea46084e..c56e47e2 100644 --- a/Sources/GameCore/CubeSceneViewState.swift +++ b/Sources/GameCore/CubeSceneViewState.swift @@ -11,7 +11,7 @@ extension Game.State { extension Game.Action.AllCasePaths { public var cubeScene: AnyCasePath { AnyCasePath( - embed: CubeSceneView.ViewAction.to(gameAction:), + embed: { CubeSceneView.ViewAction.to(gameAction: $0) }, extract: { gameAction in switch gameAction { case let .doubleTap(index: index):