From: Wuzzy Date: Fri, 17 Apr 2020 06:10:28 +0000 (+0200) Subject: Rename "subgame" to "game" in 2 error messages (#9680) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e88719bcdd49c5bfe295dc89bc2852e0f3dc8065;p=oweals%2Fminetest.git Rename "subgame" to "game" in 2 error messages (#9680) --- diff --git a/src/main.cpp b/src/main.cpp index 82666e463..147f686ed 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -781,7 +781,7 @@ static bool determine_subgame(GameParams *game_params) gamespec = findSubgame(g_settings->get("default_game")); infostream << "Using default gameid [" << gamespec.id << "]" << std::endl; if (!gamespec.isValid()) { - errorstream << "Subgame specified in default_game [" + errorstream << "Game specified in default_game [" << g_settings->get("default_game") << "] is invalid." << std::endl; return false; @@ -806,7 +806,7 @@ static bool determine_subgame(GameParams *game_params) } if (!gamespec.isValid()) { - errorstream << "Subgame [" << gamespec.id << "] could not be found." + errorstream << "Game [" << gamespec.id << "] could not be found." << std::endl; return false; }