Skip to content

Commit

Permalink
Fix a bug with ModEnabledViewModel.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
halgari committed Jun 26, 2024
1 parent 132e15c commit 68640ce
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ public ModEnabledViewModel(IConnection conn)
var mod = Mod.Load(db, id);
txInner.Add(mod.Id, Mod.Enabled, !mod.Enabled);
txInner.Add(mod.Id, Mod.Revision, mod.Revision + 1);
var loadout = mod.Loadout;
txInner.Add(loadout, Loadout.Revision, loadout.Revision + 1);
});
await tx.Commit();
return Unit.Default;
Expand Down

0 comments on commit 68640ce

Please sign in to comment.