mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-19 23:25:09 -05:00
don't save empty wild encounter field groups
This commit is contained in:
@@ -560,7 +560,7 @@ void Project::saveWildMonData() {
|
||||
}
|
||||
groupsObject[groupName] = subGroupIndices;
|
||||
}
|
||||
fieldObject["groups"] = groupsObject;
|
||||
if (!groupsObject.isEmpty()) fieldObject["groups"] = groupsObject;
|
||||
|
||||
fieldsInfoArray.append(fieldObject);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user