diff options
author | est31 <MTest31@outlook.com> | 2016-03-15 08:55:45 +0100 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2016-03-15 08:55:45 +0100 |
commit | 2607b97b4f2b41767d7a010e9376d3e7f578cb71 (patch) | |
tree | e1261afbebfc3dbdc0e2d47aaf963a5947898232 /src/client/CMakeLists.txt | |
parent | e0151d1054c9923630b8ae9cdae36efa261756d3 (diff) | |
download | minetest-2607b97b4f2b41767d7a010e9376d3e7f578cb71.tar.gz minetest-2607b97b4f2b41767d7a010e9376d3e7f578cb71.tar.bz2 minetest-2607b97b4f2b41767d7a010e9376d3e7f578cb71.zip |
Fix two reconnect bugs
Fix two bugs related to the reconnect feature
introduced by commit
3b50b2766aeb09c9fc0ad0ea07426bb2187df3d7 "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.
Diffstat (limited to 'src/client/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions