Skip to content

Commit

Permalink
Better input down handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Llennpie committed Mar 9, 2024
1 parent 2556d46 commit a68ca7d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions LibV64Core/Controller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ public static Task Update(int time = 500)
{
while (true)
{
Thread.Sleep(time);
alreadyPressed = false;
if (alreadyPressed)
{
Thread.Sleep(time);
alreadyPressed = false;
}
}

return Task.CompletedTask;
}
}
}

0 comments on commit a68ca7d

Please sign in to comment.