Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
fix: Excessive parameter in call
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Jul 11, 2021
1 parent cd4792b commit b15a75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/userscript/source/UpgradeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class UpgradeManager {
if (!button || !button.model.enabled) return;

//need to simulate a click so the game updates everything properly
button.domNode.click(upgrade);
button.domNode.click();
const label = upgrade.label;

if (variant === "workshop") {
Expand Down

0 comments on commit b15a75f

Please sign in to comment.