Skip to content

Commit

Permalink
back to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
zzh8829 committed Sep 15, 2024
1 parent aeb3366 commit 1a89d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Yafc.Model/Model/ModuleFillerParameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ The payback time is calculated as the module cost divided by the economy gain pe
effectivityEconomy = 0f;
}

float bestEconomy = float.NegativeInfinity;
float bestEconomy = 0f;
Module? usedModule = null;
foreach (var module in recipe.modules) {
if (module.IsAccessibleWithCurrentMilestones() && entity.CanAcceptModule(module.moduleSpecification)) {
Expand Down

0 comments on commit 1a89d5c

Please sign in to comment.