Skip to content

Commit b26c613

Browse files
authored
Merge pull request #1543 from whoswhip/aimmy-prs
Bug Fixes - Anti Recoil & Cursor Check
2 parents e9d181b + 45d75fb commit b26c613

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
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
}

Aimmy2/MainWindow.xaml.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,6 @@ private async Task LoadConfigurationsAsync()
217217
// Run non-UI operations in background
218218
await Task.Run(() =>
219219
{
220-
arManager.HoldDownLoad();
221-
222220
// Load configurations that don't create UI
223221
var configs = new[]
224222
{
@@ -239,6 +237,7 @@ await Task.Run(() =>
239237
LoadConfig();
240238
LoadAntiRecoilConfig();
241239

240+
arManager.HoldDownLoad(); // needs to be ran on ui thread or just cant be run via Task.Run -whip
242241
ApplyThemeColorFromConfig();
243242
}
244243

0 commit comments

Comments
 (0)