Fix load configs
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user