Skip to content

Commit

Permalink
fix the UI checkboxes not even working, gods I'm fucking stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
PrincessRTFM committed Jul 12, 2024
1 parent f009839 commit 98cdcb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AutoMountBgm/ConfigWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ private void drawMountList() {
bool enableBgm = Plugin.Config.IsBgmEnabled(mount);
if (ImGui.Checkbox($"{mount.Name}###mount{mount.Id}", ref enableBgm)) {
if (enableBgm)
Plugin.Config.DisableBgm(mount);
else
Plugin.Config.EnableBgm(mount);
else
Plugin.Config.DisableBgm(mount);
Plugin.Config.Save();
}

Expand Down

0 comments on commit 98cdcb6

Please sign in to comment.