Skip to content

Commit

Permalink
Fixed an issue where FOV didn't load due to some previous code that w…
Browse files Browse the repository at this point in the history
…asn't cleaned up during testing.
  • Loading branch information
Babyhamsta authored and Babyhamsta committed Dec 18, 2023
1 parent 122eb68 commit f4b3214
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions AimmyWPF/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ private enum MenuPosition
{ "FOV_Size", 640 },
{ "Mouse_Sens", 0.80 },
{ "Mouse_Jitter", 4 },
{ "Prediction_Sens", 0.1 },
{ "Y_Offset", 0 },
{ "X_Offset", 0 },
{ "Trigger_Delay", 0.1 },
Expand Down Expand Up @@ -771,8 +770,6 @@ private async Task LoadConfigAsync(string path)
// We'll attempt to update the AI Settings but it may not be loaded yet.
try
{
predictionManager.PredictionSens = aimmySettings["Prediction_Sens"];

int fovSize = (int)aimmySettings["FOV_Size"];
FOVOverlay.FovSize = fovSize;
AwfulPropertyChanger.PostNewFOVSize();
Expand Down
2 changes: 0 additions & 2 deletions AimmyWPF/PredictionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ public struct Detection

KalmanFilter2D kalmanFilter;
private DateTime lastUpdateTime;
private const double ResetThreshold = 1;
public double PredictionSens = 0.01;

public PredictionManager()
{
Expand Down

0 comments on commit f4b3214

Please sign in to comment.