bakhtrv commited on
Commit
a426569
·
verified ·
1 Parent(s): 20a0890

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -323,7 +323,7 @@
323
 
324
  if (type === 'points') pts = Math.max(0, pts + delta);
325
  if (type === 'penalty') pen = Math.max(0, pen + delta);
326
- const score = parseFloat((pts - (pen * 0.8)).toFixed(2));
327
 
328
  // UPDATE BOTH PATHS AT ONCE
329
  const updates = {};
 
323
 
324
  if (type === 'points') pts = Math.max(0, pts + delta);
325
  if (type === 'penalty') pen = Math.max(0, pen + delta);
326
+ const score = parseFloat((pts + (pen * 0.8)).toFixed(2));
327
 
328
  // UPDATE BOTH PATHS AT ONCE
329
  const updates = {};