Rename "subgame" to "game" in 2 error messages (#9680)

master
Wuzzy 2020-04-17 08:10:28 +02:00 committed by GitHub
parent 7539267d37
commit e88719bcdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View 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;
}