-
Notifications
You must be signed in to change notification settings - Fork 164
Labels
bug-openlocoA problem or bug in OpenLoco (but not vanilla)A problem or bug in OpenLoco (but not vanilla)
Description
Version information:
- Platform: Windows build (via Linux x64 with WINE compatibility layer)
- Version: 24.12
- Build/commit: master
Describe the bug
See title. When a vehicle is being followed by the camera, if it is deleted the camera bugs out, then the game crashes.
To Reproduce
Steps to reproduce the behaviour:
- Open a scenario
- Create a vehicle
- Click on vehicle to get tracking window
- Press the center on vehicle button in the bottom right of the tracking window, select "Follow vehicle on main view"
- Delete vehicle
Expected behaviour
Camera defaults back to basic behaviour
Screenshots
N/A?, can be added if needed
Additional context
Likely due to the camera not being notified of the vehicle deletion, causing it to try and render from an unusable context.
Metadata
Metadata
Assignees
Labels
bug-openlocoA problem or bug in OpenLoco (but not vanilla)A problem or bug in OpenLoco (but not vanilla)