Basic Bot - Fix logic for determining the best attempt, no longer thinks every new attempt is better, I think this fixes #603

This commit is contained in:
adelikat 2016-10-06 12:03:32 -05:00
parent 4c140f676e
commit db194c8360
1 changed files with 1 additions and 1 deletions

View File

@ -927,7 +927,7 @@ namespace BizHawk.Client.EmuHawk
_currentBotAttempt.TieBreak3 = TieBreaker3Value;
PlayBestButton.Enabled = true;
if (IsBetter(_comparisonBotAttempt, _currentBotAttempt))
if (_bestBotAttempt == null || IsBetter(_bestBotAttempt, _currentBotAttempt))
{
_bestBotAttempt = _currentBotAttempt;
UpdateBestAttempt();