Put quotes around missing era in case it's blank.
This commit is contained in:
parent
47c19ceff6
commit
cc4c9e96b2
1 changed files with 2 additions and 2 deletions
|
@ -100,11 +100,11 @@ config initial_level_config(saved_game& state)
|
|||
|
||||
if(!era_cfg) {
|
||||
if(params.saved_game == mp_game_settings::SAVED_GAME_MODE::NONE) {
|
||||
throw config::error(VGETTEXT("Cannot find era $era", {{"era", era}}));
|
||||
throw config::error(VGETTEXT("Cannot find era '$era'", {{"era", era}}));
|
||||
}
|
||||
|
||||
// FIXME: @todo We should tell user about missing era but still load game...
|
||||
WRN_CF << "Missing era in MP load game " << era << std::endl;
|
||||
WRN_CF << "Missing era in MP load game '" << era << "'" << std::endl;
|
||||
|
||||
} else {
|
||||
level.add_child("era", era_cfg);
|
||||
|
|
Loading…
Add table
Reference in a new issue