File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ async Task ControlDevice() {
102102 //Console.WriteLine(processList[0]);
103103 StructuredOsuMemoryReader . GetInstance ( new ProcessTargetOptions ( "osu!" ) ) ;
104104 if ( processList . Length > 0 ) {
105+ //i really wanted to keep this in, but this would just keep printing forever because it's inside the while loop
106+ //*might* move it outside so i can still have it print to console
105107 //Console.WriteLine("osu's open. good girl :3");
106108 var baseAddresses = new OsuBaseAddresses ( ) ;
107109 Program prog = new Program ( ) ;
@@ -138,6 +140,8 @@ async Task ControlDevice() {
138140 await Task . Delay ( 5000 ) ;
139141 await device . VibrateAsync ( 0 ) ;
140142 Console . WriteLine ( "i hope this taught you a lesson >:3" ) ;
143+ //return so we dont vibrate forever
144+ return ;
141145 }
142146 catch ( Exception e ) {
143147 Console . WriteLine ( $ "Problem vibrating: { e } ") ;
You can’t perform that action at this time.
0 commit comments