Skip to content

Can replace competitor's road stations #3315

@LeeSpork

Description

@LeeSpork

Version information:
Bug introduced between 25.04 and 25.05 (bf6827b)

To Reproduce

  1. Load a saved game that has road routes built by AI.
  2. Locate AI road station
  3. Open road construction window's station tab, and select any type of road station
  4. Click on the AI's station.

Expected behaviour
"[Station name] belongs to [competitor company]" error message

Actual behaviour
You will hear the construction placement sound.

Along with #3314, this will then allow you to delete the station, as the game now considers you to own the building (note: the game will then crash shortly due to #3313).

This also results in a station being created in your name, however its label is not visible (at least nearby), and it has no station buildings linked to it which means it does not show up in your stations list and will shortly be automatically deallocated.

Additional Context
I guess we need to add new error detection code situation? Previously, this was prevented due to error message was "Station in the way", but this no longer happens presumably due to the new feature of being able to replace stations.

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