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
I would not consider this a bug. The console is not meant for normal use, and sure, if you know your way around you can use it for shortcuts like that. But the game is designed around the GUIs, and from a code-flow perspective it makes most sense to open the multiplayer window when you disconnect from a server.
And yes, one can argue the same should happen on a connection error, and maybe we should.
Either way, fixing this "bug" is most likely more trouble than worth.
Despite being named "Disconnect" it's logically a button to cancel connection attempt as you're not fully connected to the server yet. So it should bring you back where you started, not open some marginally related windows.
Also, fixing it may be as simple as just removing two lines.
So I guess question is why it even opening that window in the first place as it's should already be open if you're using GUI to connect. And connect command kicks you out of the active game anyway. It seems to be in the code since r1 so whatever reason was there may not even be relevant anymore, especially considering 05394d5
Version of OpenTTD
master(bb9b8b9)
Expected result
Connection window is closed and game stays in the main menu like it dose in case of connection error.
Actual result
Game opens multiplayer lobby.
Steps to reproduce
connect
command, for exampleconnect citymania.org:3980
The text was updated successfully, but these errors were encountered: