Skip to content

Commit

Permalink
chore: don't update session stats while I have cheats on
Browse files Browse the repository at this point in the history
  • Loading branch information
yHSJ committed Aug 12, 2024
1 parent 38781d6 commit 3073efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export async function hydraSend(
let hydraSendStart = performance.now();
gameData.level = level;

if (!level.demoplayback) {
if (!level.demoplayback || player.cheats != 0) {
gameData.player = {
...player,
totalStats: addPlayerStats(
Expand Down

0 comments on commit 3073efc

Please sign in to comment.