Skip to content

Commit

Permalink
fix comparison of disableUMU check
Browse files Browse the repository at this point in the history
  • Loading branch information
arielj committed Dec 21, 2024
1 parent 2152cc7 commit 8485fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/utils/compatibility_layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ export async function isUmuSupported(
): Promise<boolean> {
if (!isLinux) return false
if (gameSettings.wineVersion.type !== 'proton') return false
if (gameSettings.disableUMU === false) return false
if (gameSettings.disableUMU === true) return false
if (gameSettings.disableUMU === undefined) {
// If the disableUMU setting is undefined it means the game was installed and configured
// before the introduction of this setting, so the usage of UMU was dictated by the
Expand Down

0 comments on commit 8485fdb

Please sign in to comment.