Skip to content
Permalink
Browse files

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

  • Loading branch information
Wuzzy2 committed Apr 17, 2020
1 parent 7539267 commit e88719bcdd49c5bfe295dc89bc2852e0f3dc8065
Showing with 2 additions and 2 deletions.
  1. +2 −2 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;
}

0 comments on commit e88719b

Please sign in to comment.
You can’t perform that action at this time.