diff options
author | Desour <vorunbekannt75@web.de> | 2020-08-23 19:44:25 +0200 |
---|---|---|
committer | celeron55 <celeron55@gmail.com> | 2020-08-24 19:55:25 +0300 |
commit | f27cf4777933f06f85fa2f013d56ca0a2cf1d588 (patch) | |
tree | 0de39c63d30849cbf4e7409f00470493a2de5b15 /src/client | |
parent | 3e5bce2251deb8e5fcbaa266431f8c0f10078bf2 (diff) | |
download | minetest-f27cf4777933f06f85fa2f013d56ca0a2cf1d588.tar.gz minetest-f27cf4777933f06f85fa2f013d56ca0a2cf1d588.tar.bz2 minetest-f27cf4777933f06f85fa2f013d56ca0a2cf1d588.zip |
Properly handle mod-errors in on_shutdown
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp index 0d3a0ca15..920383aaf 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1300,7 +1300,8 @@ bool Game::createSingleplayerServer(const std::string &map_dir, return false; } - server = new Server(map_dir, gamespec, simple_singleplayer_mode, bind_addr, false); + server = new Server(map_dir, gamespec, simple_singleplayer_mode, bind_addr, + false, nullptr, error_message); server->start(); return true; |