Skip to content

Commit 45d75fb

Browse files
committed
refactor: remove DoTriggerClick in MoveCrosshair
This fixes cursor check.
1 parent 3dd665d commit 45d75fb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Aimmy2/InputLogic/MouseManager.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,7 @@ public static void MoveCrosshair(int detectedX, int detectedY)
260260
previousX = newPosition.X;
261261
previousY = newPosition.Y;
262262

263-
if (Dictionary.toggleState["Auto Trigger"] &&
264-
!Dictionary.toggleState["Spray Mode"])
265-
{
266-
Task.Run(() => DoTriggerClick());
267-
}
268-
else if (!Dictionary.toggleState["Auto Trigger"])
263+
if (!Dictionary.toggleState["Auto Trigger"])
269264
{
270265
ResetSprayState();
271266
}

0 commit comments

Comments
 (0)