This commit is contained in:
2025-11-14 11:28:55 +01:00
parent f88fa5794c
commit 293ede96ed
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -1854,6 +1854,10 @@ async fn handle_peer_stream(
if let Some(ref db) = *db_guard {
db.all_games().into_iter().cloned().collect::<Vec<Game>>()
} else {
// Local database not loaded yet, return empty result
log::info!(
"Local game database not yet loaded, responding with empty game list"
);
Vec::new()
}
};