1
0
mirror of synced 2024-12-05 03:27:57 +01:00

change read carId a bit

This commit is contained in:
Shiroi Kitsu 2022-12-01 18:59:54 +07:00
parent 27c074a1b3
commit ef5fc744d0

View File

@ -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