diff --git a/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx b/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx index c3451f3a2..131ad8043 100644 --- a/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx +++ b/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx @@ -107,7 +107,7 @@ export class ScenePlayerImpl extends React.Component< } private shouldRepeat(scene: GQL.SceneDataFragment) { - const maxLoopDuration = this.state?.config.maximumLoopDuration ?? 0; + const maxLoopDuration = this.props?.config?.maximumLoopDuration ?? 0; return ( !!scene.file.duration && !!maxLoopDuration &&