Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error message when performing town action with not enough cash does not say "not enough cash" #10280

Closed
James103 opened this issue Dec 24, 2022 · 2 comments · Fixed by #10462
Labels
bug Something isn't working good first issue Good for newcomers priority: low This issue should be fixed but has either a low impact or is en edge-case

Comments

@James103
Copy link
Contributor

Version of OpenTTD

a857ed8 on Windows 10, 64-bit (via Steam)

Expected result

The error message given when attempting to perform a town action while not having enough cash to do it should say that the company does not have enough cash to perform that action with the local authority.

Example: "Can't do this... Not enough cash, requires £102,539"

Actual result

The error message given when attempting to perform a town action while not having enough cash to do it does not say that the company does not have enough cash to perform that action with the local authority.

Actual: "Can't do this..." without that second line saying "Not enough cash"

Steps to reproduce

  1. Start a new map.
  2. Click on a town to open its town window.
  3. Click "Local authority".
  4. Double click on a greyed-out action to attempt to perform it.
  5. The action fails (as expected), but the error message does not say that the company doesn't have enough cash to do it (as is typically the case if an action is greyed out).
@2TallTyler 2TallTyler added bug Something isn't working good first issue Good for newcomers priority: low This issue should be fixed but has either a low impact or is en edge-case labels Dec 29, 2022
@2TallTyler
Copy link
Member

Perhaps a better fix would be to actually disable the action, so double-clicking does nothing.

@redone9211
Copy link

i would like to contribute to this issue , can you let me know how i can solve it.

glx22 added a commit to glx22/OpenTTD that referenced this issue Feb 10, 2023
glx22 added a commit to glx22/OpenTTD that referenced this issue Feb 10, 2023
serg-bloim pushed a commit to serg-bloim/OpenTTD that referenced this issue Feb 10, 2023
rubidium42 pushed a commit to rubidium42/OpenTTD that referenced this issue Mar 26, 2023
rubidium42 pushed a commit to rubidium42/OpenTTD that referenced this issue Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers priority: low This issue should be fixed but has either a low impact or is en edge-case
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants