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:
parent
4c140f676e
commit
db194c8360
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue