Skip to content

Commit

Permalink
fix: always fineTune
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbots committed Dec 20, 2023
1 parent 4e30e8d commit 132658a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bot/createBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const createBot = (game, { config, settings }, winSwitch, state) => {
.split(",")
.map((word) => word.trim());

const moveTo = async ({ pos, randomRange, fineTune = {offset: randomRange, steps: [0, 3]}, forcedNutMouse}) => {
const moveTo = async ({ pos, randomRange, fineTune = {offset: randomRange, steps: [1, 3]}, forcedNutMouse}) => {
if (randomRange) {
pos.x = pos.x + random(-randomRange, randomRange);
pos.y = pos.y + random(-randomRange, randomRange);
Expand Down

0 comments on commit 132658a

Please sign in to comment.