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:
2
main.nut
2
main.nut
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user