Skip to content

Vehicle orders are deleted incorrectly when deallocating a station #3313

@LeeSpork

Description

@LeeSpork

Version information:

To Reproduce

  1. Start a new game
  2. Buy some vehicles
  3. Build a station
  4. add it to the orders of any vehicle other than the first vehicle (i.e. this bug will not affect "Train 1" or whatever the first vehicle you built is)
  5. Bulldoze the station
  6. Wait for the station to be deallocated

Behaviour

  • If the vehicle has a low ID, its order, instead of getting fully deleted, will now show an order with an invalid string ID in its orders list.
  • If the vehicle has a high ID, the game will freeze/crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions