lobby: log the title presented at hello

The per-game scope failing silently is what made an empty title hard to
find; the client now says which one it announced.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1dT6h1ZshMVUUVKTPxsCD
This commit is contained in:
Alex Vanderveen
2026-09-06 03:37:26 -04:00
parent 0f1fd021a8
commit e9038af4cd
+3
View File
@@ -1858,6 +1858,9 @@ static void handle_server_json(const char *json)
"{\"op\":\"hello\",\"display_name\":\"%s\",\"game_name\":\"%s\"}",
g_lc.display_name, g_lc.filter_game_name);
queue_send(msg);
fprintf(stderr, "psx_lobby: hello as \"%s\" for game \"%s\"\n",
g_lc.display_name,
g_lc.filter_game_name[0] ? g_lc.filter_game_name : "(none)");
}
queue_list_request();
/* Prefetch Coturn creds for ICE (no-op reply if server lacks COTURN_*). */