mp: Ignore formatting markup in era names
This commit is contained in:
parent
2765b538b7
commit
2b116681d3
2 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
Version 1.12.4+dev:
|
||||
* Language and i18n:
|
||||
* Updated translations:
|
||||
* Multiplayer:
|
||||
* Era names no longer support formatting markup in the game setup screen.
|
||||
* Miscellaneous and bug fixes:
|
||||
* Default to non-strict compilation with CMake.
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "log.hpp"
|
||||
#include "generators/map_create.hpp"
|
||||
#include "map_exception.hpp"
|
||||
#include "marked-up_text.hpp"
|
||||
#include "minimap.hpp"
|
||||
#include "wml_separators.hpp"
|
||||
#include "wml_exception.hpp"
|
||||
|
@ -533,7 +534,7 @@ std::vector<std::string> create_engine::extras_menu_item_names(
|
|||
|
||||
BOOST_FOREACH(extras_metadata_ptr extra,
|
||||
get_const_extras_by_type(extra_type)) {
|
||||
names.push_back(extra->name);
|
||||
names.push_back(font::NULL_MARKUP + extra->name);
|
||||
}
|
||||
|
||||
return names;
|
||||
|
|
Loading…
Add table
Reference in a new issue