Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from Kiffolisk/main
Browse files Browse the repository at this point in the history
Fixed player input on must hit sections
  • Loading branch information
Kade-github authored Jan 10, 2021
2 parents f250b79 + 564d394 commit f2f24dc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions FNFBot/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ public static void Main(string[] args)
if (sect.MustHitSection)
{
foreach (FNFSong.FNFNote n in sect.Notes)
notesToPlay.Add(n);
{
if ((int)n.Type >= 4)
continue;
notesToPlay.Add(n);
}
}
else
{
Expand Down Expand Up @@ -237,4 +241,4 @@ public static void KeyPress(byte key, byte scan)
keybd_event(key, scan, KEYEVENTF_KEYUP, 0);
}
}
}
}

0 comments on commit f2f24dc

Please sign in to comment.