Skip to content

Commit

Permalink
fix(score): multiroom player skill calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
anthroplankton committed Nov 19, 2024
1 parent b887f31 commit e8a8d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/scoreCalc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function useScoreCalc() {
);

const getMultiSkillRate = useCallback((skillRates: number[]) => {
let multiSkillRate = 1 + skillRates[0];
let multiSkillRate = skillRates[0];
skillRates.forEach((v, i) => {
if (i > 0) multiSkillRate += v / 5;
});
Expand Down

0 comments on commit e8a8d0d

Please sign in to comment.