Update statsService.ts
This commit is contained in:
parent
14acff99a9
commit
9be9529e8b
@ -311,7 +311,7 @@ export const updateStats = async (playerStats: TStatsDatabaseDocument, payload:
|
||||
case "OlliesCrashCourseScore":
|
||||
case "DojoObstacleScore":
|
||||
playerStats[category] ??= 0;
|
||||
playerStats[category] = data;
|
||||
if (data > playerStats[category]) playerStats[category] = data;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user