openmultiplayer/launcher

Servers add to recent even without a connection to them

Closed this issue · 0 comments

Servers add to "Recently Joined" tab even without a connection to them in case you didn't set gta sa or samp path and clicked "Connect".

How to reproduce: open an internet or partners list, RMB on any server and click "Connect". After you get the error dialog where it will be advised to set the gta sa path, click cancel and go to "Recently Joined" tab. The server will already be there, even if you didn't start samp client nor actually tried to connect to it.

Possible solution: call an event of adding server to this list only after all "validation checks" will be passed without a failure and the game/samp process will be successfully started.