Skip to content
Browse files

Fix error not printed to console when no name is provided

When minetest is launched, if there was no nameprovided in
configuration or parameters, the game would not show any error in
console. if the --go parameter was also prowided, the game would
exit without an error. This is undesired behavior, so this merged
commit add the missing function that displays the missing error
message in console.
  • Loading branch information
juozaspo authored and rubenwardy committed Aug 9, 2017
1 parent b9ab51d commit 837328fbacd5fe95795d4b645a819618dae951f3
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/client/clientlauncher.cpp
@@ -401,6 +401,7 @@ bool ClientLauncher::launch_game(std::string &error_message,

if ( == "" && !simple_singleplayer_mode) {
error_message = gettext("Please choose a name!");
errorstream << error_message << std::endl;
return false;

0 comments on commit 837328f

Please sign in to comment.