Break if we're not moving shortly after interaction
This commit is contained in:
parent
1d8aaabdaa
commit
992f3ed17e
@ -145,7 +145,11 @@ public class HandleObstacle extends TaskNode {
|
|||||||
Mouse.move(hoverRect);
|
Mouse.move(hoverRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
Util.sleepUntilMovingAndAnimating(Calculations.random(9000, 10000));
|
if (!Util.sleepUntilMoving(Calculations.random(1200, 1800))) {
|
||||||
|
return Calculations.random( 180, 350);
|
||||||
|
}
|
||||||
|
|
||||||
|
Util.sleepUntilMovingAndAnimating(Calculations.random(6000, 7000));
|
||||||
|
|
||||||
return Calculations.random(180, 350);
|
return Calculations.random(180, 350);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user