mirror of
https://github.com/huderlem/porymap.git
synced 2026-04-23 01:57:35 -05:00
don't save empty wild encounter field groups
This commit is contained in:
parent
da59c82b7d
commit
6324980a8d
|
|
@ -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 New Issue
Block a user