Skip to content

Commit

Permalink
fix default disableUMU config for new games and old games
Browse files Browse the repository at this point in the history
  • Loading branch information
arielj committed Dec 21, 2024
1 parent 8485fdb commit 27f4537
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/backend/game_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,10 @@ class GameConfigV0 extends GameConfig {
// read game's settings
const settings = JSON.parse(readFileSync(this.path, 'utf-8'))
gameSettings = settings[this.appName] || ({} as GameSettings)
} else {
// only set the `disableUMU` default value when getting settings for a new game
// we want it to be `undefined` for games that were installed already
defaultSettings.disableUMU = false
}

if (!isWindows) {
Expand Down

0 comments on commit 27f4537

Please sign in to comment.