Skip to content

Conversation

@Xenius97
Copy link
Contributor

Fixes #3248, #2476

Looks like several typos and logical errors caused these issues.
Now the client and server are in sync, I’ve tested it with multiple vehicles as well.

Important

Spoilers are now allowed on all vehicles on the client side as well. Previously, this wasn’t the case, so it could happen that if you replaced a vehicle and the server applied a spoiler, it would disappear (this was probably the cause). This check existed on the server side but not on the client side, which caused a discrepancy between the two. If you add a spoiler to vehicle which has no ug_spoiler dummy, spoiler will spawn to centre of vehicle. Now, all upgrade IDs should be fully synchronized.

@FileEX FileEX merged commit b870f4c into multitheftauto:master Nov 22, 2025
MTABot pushed a commit that referenced this pull request Nov 22, 2025
b870f4c Fix `getVehicleCompatibleUpgrades` returns different value on client/server (#4569)
c10940e Update client en_US pot
@FileEX FileEX added this to the 1.7.1 milestone Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

getVehicleCompatibleUpgrades returns invalid data on the client side.

2 participants