Rename "subgame" to "game" in 2 error messages (#9680)
authorWuzzy <wuzzy2@mail.ru>
Fri, 17 Apr 2020 06:10:28 +0000 (08:10 +0200)
committerGitHub <noreply@github.com>
Fri, 17 Apr 2020 06:10:28 +0000 (08:10 +0200)
src/main.cpp

index 82666e463c644e40ea661a0525f83ebf42e9edf6..147f686edd494e93b71cf9c70cd9baa581f23088 100644 (file)
@@ -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;
        }