diff --git a/src/client/component/bots.cpp b/src/client/component/bots.cpp index 731f1c0d..c74ec29f 100644 --- a/src/client/component/bots.cpp +++ b/src/client/component/bots.cpp @@ -100,7 +100,7 @@ namespace bots const auto names = bots.GetArray(); for (const auto& name : names) { - bot_names.emplace_back(name.Get()); + bot_names.emplace_back(std::string(name.GetString())); } }