Skip to content

Commit

Permalink
fix armor upgrade toggles not working
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Aug 4, 2024
1 parent bf504e1 commit e411380
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private boolean handleClick(double mouseX, double mouseY, int button) {
}

// left click - usual toggle action
super.onClick(mouseX, mouseY);
super.onClick(mouseX, mouseY, button);

ArmorFeatureStatus.INSTANCE.setUpgradeEnabled(upgradeID, checked);
ArmorFeatureStatus.INSTANCE.saveIfChanged();
Expand Down

0 comments on commit e411380

Please sign in to comment.