Skip to content

Commit

Permalink
Restrict new position option for Event (Token Drawboxes) only
Browse files Browse the repository at this point in the history
  • Loading branch information
steve1316 committed Feb 15, 2023
1 parent 73c5517 commit bf0e013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ const Settings = () => {
</FormGroup>
) : null}

{bsc.settings.game.farmingMode === "Event" || bsc.settings.game.farmingMode === "Event (Token Drawboxes)" ? (
{bsc.settings.game.farmingMode === "Event (Token Drawboxes)" ? (
<FormGroup sx={{ paddingBottom: "16px" }}>
<FormControlLabel
control={
Expand All @@ -378,7 +378,7 @@ const Settings = () => {
</FormGroup>
) : null}

{(bsc.settings.game.farmingMode === "Event" || bsc.settings.game.farmingMode === "Event (Token Drawboxes)") && bsc.settings.event.enableNewPosition ? (
{bsc.settings.game.farmingMode === "Event (Token Drawboxes)" && bsc.settings.event.enableNewPosition ? (
<TextField
label="New Position"
variant="filled"
Expand Down

0 comments on commit bf0e013

Please sign in to comment.