mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
Update menu.cpp
This commit is contained in:
parent
889fcde9d3
commit
30d179e9a3
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ void create_world_types_panel(Engine* engine) {
|
|||
std::vector<std::string> worldTypes = WorldTypes::getWorldTypes();
|
||||
std::sort(worldTypes.begin(), worldTypes.end());
|
||||
for (std::string& type : worldTypes) {
|
||||
std::string& fullName = util::wstr2str_utf8(langs::get(util::str2wstr_utf8(type), L"world.types"));
|
||||
const std::string& fullName = util::wstr2str_utf8(langs::get(util::str2wstr_utf8(type), L"world.types"));
|
||||
auto button = std::make_shared<Button>(
|
||||
util::str2wstr_utf8(fullName),
|
||||
vec4(10.f),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue