Fixed quickbuy to be 10. No hotfix!

This commit is contained in:
sarah committed 2026-09-03 21:45:57 +02:00
1 parent 40b29cc699
commit 3827c6cfa9
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ $PageSection = "Garden";
</button>
<button
id="QuickBuyTwoButton"
id="QuickBuyTenButton"
class="QuickBuyAmountButton"
type="button"
>
+6 -6
View File
@@ -448,8 +448,8 @@ function BindQuickBuyControls() {
"One"
],
[
"QuickBuyTwoButton",
"Two"
"QuickBuyTenButton",
"Ten"
],
[
"QuickBuyGardenButton",
@@ -483,7 +483,7 @@ function BindQuickBuyControls() {
function GetQuickBuyAmount() {
if (
QuickBuyAmountMode ===
"Two"
"Ten"
) {
return 10;
}
@@ -522,9 +522,9 @@ function RenderQuickBuy() {
"QuickBuyOneButton"
);
const TwoButton =
const TenButton =
document.getElementById(
"QuickBuyTwoButton"
"QuickBuyTenButton"
);
const GardenButton =
@@ -535,7 +535,7 @@ function RenderQuickBuy() {
const AmountButtons = [
[OneButton, "One", 1],
[TwoButton, "Two", 2],
[TenButton, "Ten", 10],
[
GardenButton,
"Garden",