Skip to content

Company name is changed from "New Company" when changing the owner name fails instead of succeeds. #3545

@LeeSpork

Description

@LeeSpork

To Reproduce

  1. Start or load a game with competitor companies without changing your company nor owner name from "New Company" and "Unnamed" respectively.
  2. Attempt to change your owner name.
  3. Changing your owner name to a name that is not in use should change your company to "(owner name) Transport", but it does not.
  4. Attempting to change your owner name to the name of another company's owner fails as that name is already in use. This should not change the name of your company, but it does.

Expected behaviour
As described, to match vanilla behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-openlocoA problem or bug in OpenLoco (but not vanilla)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions