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

fix wheel color change in terminal

This commit is contained in:
ghkkk090 2022-07-25 22:31:16 +07:00
parent fad2647629
commit 05c4b82159

View File

@ -1426,6 +1426,11 @@ export default class GameModule extends Module {
} else {
saveEx.wheel = car?.wheel;
}
if (body.car?.wheelColor !== null && body.car?.wheelColor !== undefined) {
saveEx.wheelColor = body.car?.wheelColor!;
} else {
saveEx.wheelColor = car?.wheelColor;
}
if (body.car?.aero !== null && body.car?.aero !== undefined) {
saveEx.aero = body.car?.aero!;
} else {