Skip to content

Commit

Permalink
Fix turning mods off
Browse files Browse the repository at this point in the history
  • Loading branch information
mircearoata committed Oct 15, 2024
1 parent a316057 commit 5ba3566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/ficsitcli/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (f *ficsitCLI) getInstallsToApply() ([]installWithTarget, *cli.Profile, err
continue
}
i := f.GetInstallation(install)
if i.Profile == selectedProfile && !i.Vanilla {
if i.Profile == selectedProfile && (!i.Vanilla || i == selectedInstall) {
platform, err := i.GetPlatform(f.ficsitCli)
if err != nil {
return nil, nil, fmt.Errorf("failed to get platform: %w", err)
Expand Down

0 comments on commit 5ba3566

Please sign in to comment.