From 5f4010fb2fd014202ff30ead9d1ea5e2fcb52764 Mon Sep 17 00:00:00 2001 From: Kade M Date: Thu, 25 Mar 2021 14:10:37 -0700 Subject: [PATCH] why did I make a thread for this --- FNFBot20/Bot/Bot.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/FNFBot20/Bot/Bot.cs b/FNFBot20/Bot/Bot.cs index 33cf859..cd5ecef 100644 --- a/FNFBot20/Bot/Bot.cs +++ b/FNFBot20/Bot/Bot.cs @@ -159,8 +159,7 @@ public void HandleNote(FNFSong.FNFNote n) bool shouldHold = n.Length > 0; - new Thread(() => - { + switch (n.Type) { case FNFSong.NoteType.Left: @@ -220,8 +219,7 @@ public void HandleNote(FNFSong.FNFNote n) break; } - }).Start(); notesPlayed++; } } -} \ No newline at end of file +}