fix: correct Forza gear mapping - 0=N, 1-10=gears, 11=R, 21=P; update gear indicator and composite dashboard

This commit is contained in:
2026-07-25 16:38:19 +08:00
parent 09ac4f8e11
commit 7226d58a7a
4 changed files with 193 additions and 142 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ let GAME_ID='';
speedU.textContent='KM/H';
// Gear
const gv=gear===0?'R':String(gear);
const gv=gear===0?'N':gear===11?'R':gear===21?'P':String(gear);
if(gv!==gearV.textContent){
gearV.textContent=gv;
gearBox.style.animation='none';gearBox.offsetHeight;gearBox.style.animation='';