Skip to content

Commit d967317

Browse files
committed
feat: use max ELR for not min (fixes rate calc)
1 parent 4c59618 commit d967317

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/boost/boost.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,7 @@ func reorderBoosters(contract *Contract) {
17601760
for _, el := range contract.Order {
17611761
elrPairs = append(elrPairs, ELRPair{
17621762
Name: el,
1763-
ELR: min(contract.Boosters[el].ArtifactSet.LayRate, contract.Boosters[el].ArtifactSet.ShipRate),
1763+
ELR: max(contract.Boosters[el].ArtifactSet.LayRate, contract.Boosters[el].ArtifactSet.ShipRate),
17641764
})
17651765
}
17661766

0 commit comments

Comments
 (0)