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