Return to lobby when the video is stalled

This commit is contained in:
Guillaume Meunier
2024-02-18 09:03:46 +01:00
parent 554b62e643
commit 8d408c0792
5 changed files with 28 additions and 12 deletions
+1 -1
View File
@@ -526,7 +526,7 @@ void scenes::lobby::render(XrTime predicted_display_time, bool should_render)
{
if (!next_scene->alive())
next_scene.reset();
else if (next_scene->ready())
else if (next_scene->current_state() == scenes::stream::state::streaming)
application::push_scene(next_scene);
}