Deep clone of duplicate WI entry Fixes #4438
| @@ -3705,7 +3705,7 @@ export function duplicateWorldInfoEntry(data, uid) { | |||
| 3705 | } | 3705 | } |
| 3706 | 3706 | ||
| 3707 | // Exclude uid and gather the rest of the properties | 3707 | // Exclude uid and gather the rest of the properties |
| 3708 | const originalData = Object.assign({}, data.entries[uid]); | 3708 | const originalData = structuredClone(data.entries[uid]); |
| 3709 | delete originalData.uid; | 3709 | delete originalData.uid; |
| 3710 | 3710 | ||
| 3711 | // Create new entry and copy over data | 3711 | // Create new entry and copy over data |