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