diff --git a/src/modules/game.ts b/src/modules/game.ts index 4dfc760..6b0715a 100644 --- a/src/modules/game.ts +++ b/src/modules/game.ts @@ -2493,9 +2493,9 @@ export default class GameModule extends Module { } }); //---------------MAYBE NOT CORRECT--------------- - let rampVal = ghost_trails!.ramp; - let pathVal = ghost_trails!.path; - /*if(pArea === 0){ //GID_RUNAREA_C1 + /*let rampVal = 0; + let pathVal = 0; + if(pArea === 0){ //GID_RUNAREA_C1 rampVal = Math.floor(Math.random() * 4); pathVal = Math.floor(Math.random() * 10); } @@ -2565,9 +2565,9 @@ export default class GameModule extends Module { let msg = { carId: pCarId, area: pArea, - ramp: rampVal, - path: pathVal, - playedAt: 0, + ramp: ghost_trails!.ramp, + path: ghost_trails!.path, + playedAt: ghost_trails!.playedAt, trail: new Uint8Array(ghost_trails!.trail) }; //-----------------------------------------------