code: better debug for install state

This commit is contained in:
2025-08-17 16:07:06 +02:00
parent ca40a62ff8
commit 02d84c4d84

View File

@@ -155,9 +155,9 @@ fn set_game_install_state_from_path(game_db: &mut GameDB, path: &Path, installed
&& let Some(game) = game_db.get_mut_game_by_id(file_name)
{
if installed {
log::debug!("Game is installed: {game}");
log::debug!("Set {game} to installed");
} else {
log::error!("Game is missing: {game}");
log::debug!("Set {game} to uninstalled");
}
game.installed = installed;
}