From e88719bcdd49c5bfe295dc89bc2852e0f3dc8065 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 17 Apr 2020 08:10:28 +0200 Subject: [PATCH] Rename "subgame" to "game" in 2 error messages (#9680) --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }