Skip to content
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

Checking if vehicle missions list is empty before calling front() #1431

Conversation

ayrtondenner
Copy link
Contributor

Fixes #1430

Be aware that list.front() raises this error only when running the game in Debug mode.

@FilmBoy84
Copy link
Collaborator

Nice catch, confirmed and merging

Thanks for the fix 🍻

@FilmBoy84 FilmBoy84 merged commit a28aef1 into OpenApoc:master May 7, 2024
3 checks passed
@ayrtondenner ayrtondenner deleted the issue-1430-fix-front-call-for-vehicle branch May 7, 2024 15:59
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.

"front() called on empty list" error when sending vehicle to point in map
2 participants