Try to distinguish between Update and DLC (Part 2)

This commit is contained in:
Megamouse 2020-11-25 19:04:12 +01:00
parent cde802b16c
commit 36189b8c3b
4 changed files with 29 additions and 8 deletions

View file

@ -515,9 +515,9 @@ void main_window::InstallPackages(QStringList file_paths)
compat::package_info info = game_compatibility::GetPkgInfo(file_path, m_game_list_frame ? m_game_list_frame->GetGameCompatibility() : nullptr);
if (info.category == "GD")
if (info.type != compat::package_type::other)
{
if (info.is_dlc)
if (info.type == compat::package_type::dlc)
{
info.local_cat = tr("\nDLC", "Block for package type (DLC)");
}