Update index.html
Browse files- 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
|
| 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 = {};
|