You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to delete a road but the local authority doesn't allow it, I should get an error message saying "Local authority doesn't allow this", no matter what button I use.
Actual result
When I try to delete a road using the button but the local authority doesn't allow it, I get an error message saying "there is no road". If I use the button instead, it gives the correct error message.
Steps to reproduce
Make the local authority of a town mad at you by destroying buildings, trees, etc.
Try to destroy a road owned by that town by using the button.
You will get an error message saying "there is no road", see video below.
OpenTTD.12.1.2022-02-19.12-57-23_Trim.mp4
The text was updated successfully, but these errors were encountered:
Been throwing coins all day what to do with this ticket.
Basically, in the use-case presented there are two errors over the full stretch:
No road to remove
Not allowed to remove the road
So the toss-up becomes: which of these two errors should be presented to the user. Currently it is what-ever the most northern tile throws. Very tempted to always make "not allowed" win from any other error .. which is already the case for ownership.
Version of OpenTTD
12.1, Windows 11
Expected result
When I try to delete a road but the local authority doesn't allow it, I should get an error message saying "Local authority doesn't allow this", no matter what button I use.
Actual result
When I try to delete a road using the button but the local authority doesn't allow it, I get an error message saying "there is no road". If I use the button instead, it gives the correct error message.
Steps to reproduce
OpenTTD.12.1.2022-02-19.12-57-23_Trim.mp4
The text was updated successfully, but these errors were encountered: