Skip to content

Comments

Object vector crash fix#94

Open
muflub wants to merge 1 commit intoFighter19:developfrom
muflub:lookup-crash-fix
Open

Object vector crash fix#94
muflub wants to merge 1 commit intoFighter19:developfrom
muflub:lookup-crash-fix

Conversation

@muflub
Copy link

@muflub muflub commented Dec 1, 2025

  • Fix crash if obj vector is reset before all objects are removed
  • Check for invalid obj id's before adding to obj vector

This happened while idling on main menu for long time then trying to start a new game, my guess the vector was cleared & resized back to default size with objects still existing with id's greater than default size

Check for invalid obj ideas before adding to obj vector
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.

1 participant