don't save empty wild encounter field groups
This commit is contained in:
parent
da59c82b7d
commit
6324980a8d
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,7 @@ void Project::saveWildMonData() {
|
|||
}
|
||||
groupsObject[groupName] = subGroupIndices;
|
||||
}
|
||||
fieldObject["groups"] = groupsObject;
|
||||
if (!groupsObject.isEmpty()) fieldObject["groups"] = groupsObject;
|
||||
|
||||
fieldsInfoArray.append(fieldObject);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue