mirror of
https://github.com/shiroikitsu8/Bayshore_6r_legacy.git
synced 2024-12-12 15:41:05 +01:00
fix crown ghost saving bug (2)
This commit is contained in:
parent
29995d1940
commit
da97a9e3de
@ -2493,9 +2493,9 @@ export default class GameModule extends Module {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
//---------------MAYBE NOT CORRECT---------------
|
//---------------MAYBE NOT CORRECT---------------
|
||||||
let rampVal = ghost_trails!.ramp;
|
/*let rampVal = 0;
|
||||||
let pathVal = ghost_trails!.path;
|
let pathVal = 0;
|
||||||
/*if(pArea === 0){ //GID_RUNAREA_C1
|
if(pArea === 0){ //GID_RUNAREA_C1
|
||||||
rampVal = Math.floor(Math.random() * 4);
|
rampVal = Math.floor(Math.random() * 4);
|
||||||
pathVal = Math.floor(Math.random() * 10);
|
pathVal = Math.floor(Math.random() * 10);
|
||||||
}
|
}
|
||||||
@ -2565,9 +2565,9 @@ export default class GameModule extends Module {
|
|||||||
let msg = {
|
let msg = {
|
||||||
carId: pCarId,
|
carId: pCarId,
|
||||||
area: pArea,
|
area: pArea,
|
||||||
ramp: rampVal,
|
ramp: ghost_trails!.ramp,
|
||||||
path: pathVal,
|
path: ghost_trails!.path,
|
||||||
playedAt: 0,
|
playedAt: ghost_trails!.playedAt,
|
||||||
trail: new Uint8Array(ghost_trails!.trail)
|
trail: new Uint8Array(ghost_trails!.trail)
|
||||||
};
|
};
|
||||||
//-----------------------------------------------
|
//-----------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user