Skip to content

Commit 248b6b4

Browse files
committed
Fix off by one.
1 parent bbd37df commit 248b6b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SerialPrograms/Source/PokemonLZA/Options/PokemonLZA_ShinyDetectedAction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ bool ShinySoundDetectedActionOption::on_shiny_sound(
8080
){
8181
ShinySoundDetectedAction action = ACTION;
8282

83-
if (action == ShinySoundDetectedAction::NOTIFY_ON_FIRST_ONLY && current_count > 0){
83+
if (action == ShinySoundDetectedAction::NOTIFY_ON_FIRST_ONLY && current_count > 1){
8484
return false;
8585
}
8686

0 commit comments

Comments
 (0)