From b0003e98433dbde9f71e9254ce74c56c2738fc5c Mon Sep 17 00:00:00 2001 From: Psycast Date: Wed, 25 Dec 2024 00:41:49 -0330 Subject: [PATCH] Fix Omniflag detection. --- src/GlobalVariables.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GlobalVariables.as b/src/GlobalVariables.as index c9ba8df3..06507782 100644 --- a/src/GlobalVariables.as +++ b/src/GlobalVariables.as @@ -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 @@ -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