Fix ask_reconnect_on_crash option being ignored
authororwell96 <mono96.mml@gmail.com>
Fri, 11 Mar 2016 17:41:56 +0000 (18:41 +0100)
committerest31 <MTest31@outlook.com>
Fri, 11 Mar 2016 22:43:37 +0000 (23:43 +0100)
commit0d2df732e5c5075cd8848b9a9530865430630bfe
tree793ade5c17d646095105945c9ecab120040afb7b
parent6f325070dde739ab942286bd6e368930ea41cb42
Fix ask_reconnect_on_crash option being ignored

Since commit

3b50b2766aeb09c9fc0ad0ea07426bb2187df3d7 "Optional reconnect functionality"

there is a config option named ask_reconnect_on_crash.
It asks the client to reconnect to the server if the server crashed.
It has been implemeted and works, but due to a function parameter not
being passed it never showed effect. This patch adds the parameter
and fixes the bug.

Also fixes the `reconnect` option of minetest.request_shutdown being ignored.
src/server.cpp