Skip to content

Fix unbound access in getRandomVehicleColour for ids 610 and 611 #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PTemuri
Copy link

@PTemuri PTemuri commented May 21, 2025

vehiclePrimaryColours and vehicleSecondaryColours is 1158 long, last valid index is 1157, but vehicleIndex was 1158 for id 610 "farmtr1" and id 611 "utiltr1".

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.

2 participants