Skip to content

Commit

Permalink
Version 1.1
Browse files Browse the repository at this point in the history
Fixed application from crashing when the Windows key was pressed.
  • Loading branch information
3urobeat committed Jun 8, 2021
1 parent d561d63 commit b300ad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class MainClass
public static void Main()
{

var version = "1.0";
var version = "1.1";
int checkInterval = 4000; //time in ms between searches

Console.WriteLine("\ncsgo-autoaccept script version {0} by 3urobeat", version);
Expand All @@ -35,7 +35,7 @@ public static void Main()
aTimer.Elapsed += OnTimedEvent; //Hook up the Elapsed event for the timer
aTimer.Enabled = true; //Start the timer (will automatically reset because AutoReset is true by default)

Console.ReadKey(); //prevents window from instantly closing
while (true) {} //prevents window from instantly closing
}


Expand Down

0 comments on commit b300ad0

Please sign in to comment.