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 authored and dnaroma committed Nov 27, 2024
1 parent b887f31 commit 2e57de8
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 2e57de8

Please sign in to comment.