1
0
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:
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