diff --git a/src/project.cpp b/src/project.cpp index 11a02d6d..0094e864 100644 --- a/src/project.cpp +++ b/src/project.cpp @@ -560,7 +560,7 @@ void Project::saveWildMonData() { } groupsObject[groupName] = subGroupIndices; } - fieldObject["groups"] = groupsObject; + if (!groupsObject.isEmpty()) fieldObject["groups"] = groupsObject; fieldsInfoArray.append(fieldObject); }