Skip to content

Commit

Permalink
Merge pull request #17 from gabeklavans/bugfix/real-score-fix
Browse files Browse the repository at this point in the history
fix(scores): actually just fix the bug
  • Loading branch information
gabeklavans authored Oct 21, 2023
2 parents 1e99578 + 05a2fb2 commit 9c57bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export async function decrementGameScore(gameSession: GameSession, api: Api<RawA
return;
}

setGameScore(gameSession, api, playerId, oldScoreObj.score - 1);
setGameScore(gameSession, api, playerId, oldScoreObj.score - 1, true);
}

export async function handleJoinSession(
Expand Down

0 comments on commit 9c57bb1

Please sign in to comment.