Skip to content

Commit

Permalink
Fix Omniflag detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
Psycast committed Dec 25, 2024
1 parent 37e4184 commit b0003e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GlobalVariables.as
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ package
songIcon = SONG_ICON_SDG;

// Omni Flag
if (_rank.perfect == noteCount - 1 && _rank.good == 1 && _rank.average == 1 && _rank.miss == 1 && _rank.boo == 1)
if (_rank.perfect == noteCount - 3 && _rank.good == 1 && _rank.average == 1 && _rank.miss == 1 && _rank.boo == 1)
songIcon = SONG_ICON_OMNIFLAG;

// Miss Flag
Expand Down Expand Up @@ -496,7 +496,7 @@ package
songIcon |= (1 << SONG_ICON_SDG);

// Omni Flag
if (_rank.perfect == noteCount - 1 && _rank.good == 1 && _rank.average == 1 && _rank.miss == 1 && _rank.boo == 1)
if (_rank.perfect == noteCount - 3 && _rank.good == 1 && _rank.average == 1 && _rank.miss == 1 && _rank.boo == 1)
songIcon |= (1 << SONG_ICON_OMNIFLAG);

// Miss Flag
Expand Down

0 comments on commit b0003e9

Please sign in to comment.