add server error messages

This commit is contained in:
caszuu
2026-02-27 16:03:18 +01:00
committed by xytovl
parent c44940d004
commit a823df96d3
10 changed files with 126 additions and 37 deletions
+13 -4
View File
@@ -882,10 +882,19 @@ void scenes::lobby::render(const XrFrameState & frame_state)
if (next_scene)
{
if (!next_scene->alive())
next_scene.reset();
else if (next_scene->current_state() == scenes::stream::state::streaming)
application::push_scene(next_scene);
switch (next_scene->current_state())
{
case scenes::stream::state::streaming:
application::push_scene(next_scene);
break;
case scenes::stream::state::shutdown:
current_tab = tab::server_list;
break;
default:
break;
}
}
update_server_list();