Merge branch '2-bee-rewards-doesn-t-store-best-score-on-selecting-the-best-goal' into 'master'

Resolve "bee rewards doesn't store best score on selecting the best goal"

Closes #2

See merge request jottyfan/bee-reward!1
This commit is contained in:
2020-05-26 21:53:03 +00:00

View File

@@ -257,7 +257,7 @@ function BeeRewardClass::FindChallenge(cargo_index, distance, comp_id)
} }
} }
if (prod_score > best_score) { // The accepting industry is better than what we have. if (prod_score > best_score) { // The accepting industry is better than what we have.
prod_score = best_score; best_score = prod_score;
best_accept = accept; best_accept = accept;
} }
} }