mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-13 18:38:11 +02:00
Fixed quickbuy to be 10. No hotfix!
This commit is contained in:
1 parent
40b29cc699
commit
3827c6cfa9
2 files changed
+7
-7
No files matched your search
+1
-1
@@ -185,7 +185,7 @@ $PageSection = "Garden";
|
||||
</button>
|
||||
|
||||
<button
|
||||
id="QuickBuyTwoButton"
|
||||
id="QuickBuyTenButton"
|
||||
class="QuickBuyAmountButton"
|
||||
type="button"
|
||||
>
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user