Fix load configs

This commit is contained in:
Jiga228
2025-10-18 13:03:26 +07:00
parent 137522cefa
commit bed233e56c
5 changed files with 62 additions and 5 deletions
+2
View File
@@ -37,6 +37,8 @@ SaveMap::SaveMap(const std::string& json_data)
{
size_t key_begin = i = json_data_blank.find_first_of('\"', i) + 1;
size_t key_end = i = json_data_blank.find_first_of('\"', i);
if (0 == key_begin)
return;
std::string name = json_data_blank.substr(key_begin, key_end - key_begin);