This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix two reconnect bugs
Fix two bugs related to the reconnect feature introduced by commit 3b50b27 "Optional reconnect functionality" 1. Set the password to the stored one Before, we have done the reconnect attempt with a cleared password, so using the feature would only work if you had an empty password. Thanks to @orwell96 for reporting the bug. 2. Reset the reconnect_requested flag after its use the_game only writes to the reconect_requested flag if it sets it to true. It never sets it to false. If the flag is not reset after its use, all "reset"s to the main menu will look like the server had requested a reconnect.
- Loading branch information
Showing 1 changed file with 4 additions and 0 deletions.