Fixed code logic error in BasicBot

It was comparing with itself when it's comparing the Tie Breaker 3 value.
This commit is contained in:
Thompson Lee 2022-07-17 17:09:06 -04:00 committed by James Groom
parent c02975c757
commit 008a5953f6
1 changed files with 1 additions and 1 deletions
src/BizHawk.Client.EmuHawk/tools/BasicBot

View File

@ -936,7 +936,7 @@ namespace BizHawk.Client.EmuHawk
if (current.TieBreak2 == comparison.TieBreak2)
{
if (!TestValue(Tie3ComparisonType, current.TieBreak3, current.TieBreak3))
if (!TestValue(Tie3ComparisonType, current.TieBreak3, comparison.TieBreak3))
{
return false;
}