Skip to content

Commit

Permalink
fix use condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ElBread3 committed Oct 15, 2024
1 parent 019ed81 commit 9779403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt_gui/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ void MainWindow::InstallDragDropPkg(std::filesystem::path file, int pkgNum, int
auto game_install_dir = ids.getSelectedDirectory();
auto game_folder_path = game_install_dir / pkg.GetTitleID();
QString pkgType = QString::fromStdString(pkg.GetPkgFlags());
bool use_game_update = pkgType.contains("Patch") && Config::getSeparateUpdateEnabled();
bool use_game_update = pkgType.contains("PATCH") && Config::getSeparateUpdateEnabled();
auto game_update_path = use_game_update
? game_install_dir / (std::string(pkg.GetTitleID()) + "-UPDATE")
: game_folder_path;
Expand Down

0 comments on commit 9779403

Please sign in to comment.