Put quotes around missing era in case it's blank.

This commit is contained in:
Pentarctagon 2021-08-13 14:06:08 -05:00
parent 47c19ceff6
commit cc4c9e96b2
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0

View file

@ -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);