Skip to content

Commit

Permalink
Merge pull request #16509 from Nexus-Mods/16507-fixed-game-default-mo…
Browse files Browse the repository at this point in the history
…d-path-resolution

fixed exception when unmanaging (some) community game extensions
  • Loading branch information
insomnious authored Oct 7, 2024
2 parents 0d2d84e + fc4d693 commit 33ed5a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/gamemode_management/util/getGame.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const gameExHandler = {

return gamePath => {
let defaultPath = target.queryModPath(gamePath);
if (defaultPath === undefined) {
if (!defaultPath) {
defaultPath = '.';
}
if (!path.isAbsolute(defaultPath)) {
Expand Down

0 comments on commit 33ed5a0

Please # to comment.