mirror of
https://github.com/shiroikitsu8/Bayshore_6r_legacy.git
synced 2024-11-30 18:24:39 +01:00
change read carId a bit
This commit is contained in:
parent
27c074a1b3
commit
ef5fc744d0
@ -175,9 +175,9 @@ export async function saveGhostBattleResult(body: wm.protobuf.SaveGameResultRequ
|
||||
if (ghostResultCrown)
|
||||
{
|
||||
let carId: number = 0;
|
||||
if(body.carId)
|
||||
if(body.car?.carId)
|
||||
{
|
||||
carId = Number(body.carId);
|
||||
carId = Number(body.car.carId);
|
||||
}
|
||||
|
||||
// Ghost Crown update data
|
||||
|
Loading…
Reference in New Issue
Block a user